Skip to content

Commit

Permalink
Update for latest container build and missing cluster tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caesonia committed May 13, 2024
1 parent c42fc23 commit ddf5194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions cfn/cfn-registry-cluster.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Resources:
- Key: Name
Value: !Sub 'ecs-registry-${DNS}'
- Key: Environment
Value: !Ref 'DNS'
- Key: MicroServ
Value: registry
Value: !Ref DNS
Expand Down
8 changes: 5 additions & 3 deletions cfn/cfn-registry-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Conditions:
IsStaging: !Or [!Equals [!Ref DNS, 'staging'], !Equals [!Ref DNS, 'demo']]
IsPrimary: !Equals [!Ref DNS, 'prod']


Resources:

Cluster:
Expand Down Expand Up @@ -92,6 +93,9 @@ Resources:
- Key: Name
Value: !Sub 'ecs-registry-${DNS}'
- Key: Environment
Value: !Ref 'DNS'
- Key: MicroServ
Value: registry
Value: !Ref DNS
- Key: Service
Value: registry
Expand Down Expand Up @@ -150,8 +154,6 @@ Resources:
Tags:
- Key: Service
Value: registry
- Key: MicroServ
Value: registry
- Key: Environment
Value: !Ref "DNS"
TaskDefinition: !Ref RegistryTaskDefinition
Expand Down Expand Up @@ -199,7 +201,7 @@ Resources:
- Condition: SUCCESS
ContainerName: Nsqadmin_ResolvConf_InitContainer
Essential: true
Image: 997427182289.dkr.ecr.us-east-1.amazonaws.com/docker-hub/aptrust/registry:45e3cac-master
Image: 997427182289.dkr.ecr.us-east-1.amazonaws.com/docker-hub/aptrust/registry:c42fc23-master
Secrets:
- Name: APT_ENV
ValueFrom: !Sub 'arn:aws:ssm:us-east-1:997427182289:parameter/${Envn}/REGISTRY/APT_ENV'
Expand Down

0 comments on commit ddf5194

Please sign in to comment.