How to create a workload in development namespace after you deployed VMware Tanzu Application Platform (TAP) by using the AWS QuickStart
book
Article ID: 297890
calendar_today
Updated On:
Products
VMware Tanzu Application Platform
Issue/Introduction
Prerequisites
You have successfully deployed Tanzu Application Platform (TAP) by using the AWS QuickStart guide
You confirmed that the app "tanzu-java-web-app-workload" is running normally under "tap-workload" namespace, which was created automatically with AWS QuickStart guide.
$ tanzu apps workload list -n tap-workload
$ tanzu apps workload get tanzu-java-web-app-workload -n tap-workload
You would like to create another "tanzu-java-web-app-workload" in a new development namespace for test purpose.
Environment
Product Version: 1.3
Resolution
What you need to do
In the Amazon Elastic Container Registry (ECR), manually create two repositories following below naming rule
For instance, If you would like to create a workload "tanzu-java-web-app-workload-molly" in namespace "mollyspace", then you might need to create below two repositories before creating a workload.
A default AWS Identity and Access Management (IAM) role named "TAPWorkloadIamRole-<cloudformation id>" will be created automatically with AWS QuickStart guide. However, currently the Trust relationships settings on TAPWorkloadIamRole is hardcoded to the tap-workload namespace service account. So you need to manually insert one line to add the SA for the dev namespace in the trusted entities. If you are using a namespace called "mollyspace", then the settings should look like below: