Skip to content

Commit

Permalink
Correct ECS placement constraint attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jan 6, 2025
1 parent fd83b75 commit b0cc0ff
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions spire/templates/apps/augury.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PlacementStrategies:
- Field: instanceId
Type: spread
Expand All @@ -300,7 +300,7 @@ Resources:
EnableECSManagedTags: true
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/castle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
4 changes: 2 additions & 2 deletions spire/templates/apps/cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand All @@ -368,7 +368,7 @@ Resources:
EnableECSManagedTags: true
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/dovetail-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
4 changes: 2 additions & 2 deletions spire/templates/apps/exchange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ Resources:
TargetGroupArn: !Ref WebTargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down Expand Up @@ -600,7 +600,7 @@ Resources:
EnableECSManagedTags: true
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
4 changes: 2 additions & 2 deletions spire/templates/apps/feeder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ Resources:
TargetGroupArn: !Ref WebTargetGroup2
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down Expand Up @@ -927,7 +927,7 @@ Resources:
EnableECSManagedTags: true
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/iframely.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
4 changes: 2 additions & 2 deletions spire/templates/apps/networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Resources:
TargetGroupArn: !Ref PublicWebTargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down Expand Up @@ -656,7 +656,7 @@ Resources:
- !Ref VpcPrivateSubnet3Id
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/play.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Resources:
TargetGroupArn: !Ref WebTargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/remix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/styleguide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/the-castle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
2 changes: 1 addition & 1 deletion spire/templates/apps/theworld-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Resources:
TargetGroupArn: !Ref TargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down
4 changes: 2 additions & 2 deletions spire/templates/apps/wfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ Resources:
TargetGroupArn: !Ref WebTargetGroup
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down Expand Up @@ -577,7 +577,7 @@ Resources:
EnableECSManagedTags: true
PlacementConstraints:
- Type: memberOf
Expression: attribute:ecs.instance-type == x86_64
Expression: attribute:ecs.cpu-architecture == x86_64
PropagateTags: TASK_DEFINITION
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
Expand Down

0 comments on commit b0cc0ff

Please sign in to comment.