We are going to perform the following steps:
Here are the steps you need to follow to “Deleting the product”
When you are ready to delete a product version you will need to edit its definition in the portfolio yaml.
Navigate to the ServiceCatalogFactory CodeCommit repository
Click on portfolios
Click on the portfolio yaml containing your product
Click Edit
Add or set the attribute Status for the version you want to delete to terminated:
Schema: factory-2019-04-01
Products:
- Name: account-vending-machine
Owner: central-it@customer.com
Description: The iam roles needed for you to do your jobs
Distributor: central-it-team
SupportDescription: Contact us on Chime for help #central-it-team
SupportEmail: central-it-team@customer.com
SupportUrl: https://wiki.customer.com/central-it-team/self-service/account-iam
Tags:
- Key: product-type
Value: iam
Versions:
- Name: v1
Description: The iam roles needed for you to do your jobs
Status: terminated
Source:
Provider: CodeCommit
Configuration:
RepositoryName: account-vending-machine
BranchName: v1
Set your Author name
Set your Email address
Set your Commit message
Click the Commit changes button:
When the framework runs the product version will be deleted. This change will only affect the version of the product in your factory account. If you are using the imported product in your spoke accounts it will have affect there otherwise you will need to run service-catalog-puppet to cascade the change.
You can verify this by navigating to Service Catalog and checking your disabled version is removed.
When you are ready to delete a product you will need to edit its definition in the portfolio yaml.
Navigate to the ServiceCatalogFactory CodeCommit repository
Click on portfolios
Click on the portfolio yaml containing your product
Click Edit
Add or set the attribute Status for the product you want to delete to terminated:
Schema: factory-2019-04-01
Products:
- Name: account-vending-machine
Status: terminated
Owner: central-it@customer.com
Description: The iam roles needed for you to do your jobs
Distributor: central-it-team
SupportDescription: Contact us on Chime for help #central-it-team
SupportEmail: central-it-team@customer.com
SupportUrl: https://wiki.customer.com/central-it-team/self-service/account-iam
Tags:
- Key: product-type
Value: iam
Versions:
- Name: v1
Description: The iam roles needed for you to do your jobs
Source:
Provider: CodeCommit
Configuration:
RepositoryName: account-vending-machine
BranchName: v1
Set your Author name
Set your Email address
Set your Commit message
Click the Commit changes button:
When the framework runs the product will be deleted. This change will only affect the version of the product in your factory account. If you are using the imported product in your spoke accounts it will have affect there otherwise you will need to run service-catalog-puppet to cascade the change. If you are using imported products in your spokes then the product will be deleted there.
You can verify this by navigating to Service Catalog and checking your disabled version is removed.