We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed6a152 commit 16fe38dCopy full SHA for 16fe38d
.github/workflows/deploy.yaml
@@ -29,5 +29,6 @@ jobs:
29
with:
30
name: GoCaptureECSCluster
31
capabilities: CAPABILITY_NAMED_IAM
32
+ parameter-overrides: "TaskImage=$REGISTRY/$REPOSITORY:$IMAGE_TAG"
33
template: cloud-formation/ecs.yaml
34
no-fail-on-empty-changeset: 1
cloud-formation/ecs.yaml
@@ -1,3 +1,6 @@
1
+Parameters:
2
+ TaskImage:
3
+ Type: String
4
Resources:
5
ExecutionRole:
6
Type: AWS::IAM::Role
@@ -37,7 +40,8 @@ Resources:
37
40
Type: AWS::ECS::TaskDefinition
38
41
Properties:
39
42
ContainerDefinitions:
- - ContainerDefinition
43
+ - Name: GoCaptureContainer
44
+ Image: !Ref TaskImage
45
Cpu: .25 vCPU
46
ExecutionRoleArn: !Ref ExecutionRole
47
Family: GoCapture
0 commit comments