Click on portfolios, then networking.yaml and click “Edit”.
Append the following snippet into the portfolios section whilst updating the role name to the one you are using in the associations section:
Add the portfolio of - "optional" to the portfolios list for subnet product.
The file should look like the following:
Set your Author name
Set your Email address
Set your Commit message
Using a good / unique commit message will help you understand what is going on later.
Click the Commit changes button:
What did we just do?
The YAML file we created in the CodeCommit repository told the framework to create a new portfolio and to add the subnet
product to that new portfolio.
Verify the change worked
Once you have made your changes the ServiceCatalogFactory Pipeline should have run. If you were very
quick in making the change, the pipeline may still be running. If it has not yet started feel free to the hit the
Release change button.
Once it has completed it should show the Source and Build stages in green to indicate they have completed
successfully:
Verify the product was added to the portfolio
Now that you have verified the pipeline has run you can go to Service Catalog portfolios to view your
portfolio.
Click on networking-optional
Click on the product subnet
Click on the version v1
Share the portfolio networking-optional into a spoke account
Append the following snippet to the end of the main input field:
The main input field should look like this (remember to set your account_id):
Committing the manifest file
Set your Author name
Set your Email address
Set your Commit message
Using a good / unique commit message will help you understand what is going on later.
Click the Commit changes button:
What did we just do?
The changes we made told the framework to make a portfolio in the default region of each spoke with the tag type:prod.
This portfolio will contain copies of the products that exist in the hub account.
Verifying the portfolio share
Once you have made your changes the ServiceCatalogPuppet Pipeline should have run. If you were quick in
making the change, the pipeline may still be running. If it has not yet started feel free to the hit the
Release change button.
As this workshop has been designed to run in a single region of a single account you cannot verify this step. If the
pipeline ran and each stage has succeeded the share should have taken place. When sharing a portfolio with the same
account it was created in the framework does not perform any actions.