This tutorial will walk you through “Sharing a portfolio using AWS Organizations” to OU member accounts.
Doing this will allow the framework to share Service Catalog Portfolios by using AWS Organizations OUs, rather than account-to-account sharing. This will reduce the time required to share Portfolios.
We are going to perform the following steps:
During this process you will check your progress by verifying what the framework is doing at each step.
Here are the steps you need to follow to “Sharing a portfolio using AWS Organizations”
This is action is only required once.
Using the AWS Console:
reinvent-cloud-engineering-governance
Navigate to the ServiceCatalogPuppet CodeCommit repository
Scroll down to the bottom of the page and hit the Create file button
We will start out by adding your OU to the manifest file.
Navigate to the ServiceCatalogPuppet CodeCommit repository
Scroll down to the bottom of the page and hit the Create file button
Copy the following snippet into the main input field:
Update <YOUR_OU_OR_PATH>
to show your OU or OU Path which contains member accounts
/production/application-accounts/
Now we are ready to add a product, which we will share via AWS Organizations, to the manifest file.
Notice that we have included sharing_mode: AWS_ORGANIZATIONS
.
Here, the Portfolio Share will be accepted in the default_region
of accounts that are type:prod
.
Now that we have written the manifest file we are ready to commit it.
Set the File name to manifest.yaml
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.
Once you have made your changes the ServiceCatalogPuppet Pipeline should have run or if you were quick 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 Deploy stages in green to indicate they have completed successfully:
Once you have verified the pipeline has run you can go to Service Catalog portfolios in the member account to view your shared product.
When you share a portfolio the framework will decide if it should share the portfolio. If the target account is the same as the factory account it will not share the portfolio as it is not needed.