Refer to the AWS CFN reference for ECS Cluster
x-cluster: Properties: CapacityProviders: - FARGATE - FARGATE_SPOT ClusterName: spotalltheway DefaultCapacityProviderStrategy: - CapacityProvider: FARGATE_SPOT Weight: 4 Base: 2 - CapacityProvider: FARGATE Weight: 1
Allows you to enter the name of an existing ECS Cluster that you want to deploy your services to.
x-cluster: Lookup: Tags: - name: clusterabcd - costcentre: lambda
If the cluster name is not found, by default, a new cluster will be created with the default settings.
This key allows you to set a cluster to use, that you do not wish to lookup, you just know the name you want to use. (Useful for multi-account where you can’t lookup cross-account).