Skip to content

Instantly share code, notes, and snippets.

@sk-t3ch
Last active October 27, 2020 00:07
Show Gist options
  • Save sk-t3ch/a76943f37a9d387477b431e1101c1cde to your computer and use it in GitHub Desktop.
Save sk-t3ch/a76943f37a9d387477b431e1101c1cde to your computer and use it in GitHub Desktop.
Hello World Cluster CloudFormation - ECS Cluster and ECR Repo
ECSCluster:
Type: 'AWS::ECS::Cluster'
Properties:
ClusterName: ECSCluster
CapacityProviders:
- FARGATE_SPOT
DefaultCapacityProviderStrategy:
- CapacityProvider: FARGATE_SPOT
Weight: 1
ClusterSettings:
- Name: containerInsights
Value: enabled
ECRRepository:
Type: AWS::ECR::Repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment