This tutorial will walk you through “Adding a product to a portfolio” into a spoke account.
We will assume you have:
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 “Adding a product to a portfolio”
Navigate to the ServiceCatalogFactory CodeCommit repository again
Click on portfolios
Schema: factory-2019-04-01
Products:
- Name: "aws-config-enable-config"
Owner: "data-governance@example.com"
Description: "Enables AWS Config"
Distributor: "cloud-engineering"
SupportDescription: "Speak to data-governance@example.com about exceptions and speak to cloud-engineering@example.com about implementation issues"
SupportEmail: "cloud-engineering@example.com"
SupportUrl: "https://wiki.example.com/cloud-engineering/governance/aws-config-enable-config"
Tags:
- Key: "type"
Value: "governance"
- Key: "creator"
Value: "cloud-engineering"
- Key: "cost-center"
Value: "cloud-engineering"
Versions:
- Name: "v1"
Description: "v1 of aws-config-enable-config"
Active: True
Source:
Provider: "CodeCommit"
Configuration:
RepositoryName: "aws-config-enable-config"
BranchName: "main"
Portfolios:
- "cloud-engineering-governance"
Portfolios:
- DisplayName: "cloud-engineering-governance"
Description: "Portfolio containing the products needed to govern AWS accounts"
ProviderName: "cloud-engineering"
Associations:
- "arn:aws:iam::${AWS::AccountId}:role/TeamRole"
Tags:
- Key: "type"
Value: "governance"
- Key: "creator"
Value: "cloud-engineering"
- Key: "cost-center"
Value: "cloud-engineering"
Once you have updated the file fill in the fields for Author name, Email address, Commit message and hit Commit changes
Using a good / unique commit message will help you understand what is going on later.
Once you have made your changes the ServiceCatalogFactory 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 Build stages in green to indicate they have completed successfully:
Once you have verified the pipeline has run you can go to Service Catalog portfolios to view your portfolio.