How can we set the ECS Cluster name in YAML override #5745
-
This looks legit to me in # Set ECS Cluster name so that we can reference it in Terraform without using an external data source
- op: replace
path: /Resources/Cluster/Properties/ClusterName
value: !Sub '${AppName}-${EnvName}'
What am I missing here? |
Beta Was this translation helpful? Give feedback.
Answered by
WillGibson
Mar 28, 2024
Replies: 1 comment
-
I needed to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WillGibson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I needed to use
add
notreplace
, because AWS Copilot does not set theClusterName
, so it cannot be replaced.