Skip to content

Commit

Permalink
updating dev and prod image reference to be the hash rather than late…
Browse files Browse the repository at this point in the history
…st (#116)
  • Loading branch information
Kat-Alo authored Nov 14, 2023
1 parent e7f0dad commit 26ea214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cfn/configs/klaxon/dev/us-east-1/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ context:
# image = provider/project/repo:tag
# In order for "image" to be reconized as raw_image_path, it must contain a "/" or a ":"
#
raw_image_path: ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/klaxon:dev-latest
raw_image_path: !_join [":", "${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/klaxon", "dev-{{resolve:ssm:/deployments/klaxon-dev/latest}}"]

environment:
DATABASE_URL: "{{resolve:secretsmanager:/klaxon/aurora-postgresql-dev/app:SecretString:database-url}}"
Expand Down
2 changes: 1 addition & 1 deletion cfn/configs/klaxon/prod/us-east-1/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ context:
# image = provider/project/repo:tag
# In order for "image" to be reconized as raw_image_path, it must contain a "/" or a ":"
#
raw_image_path: ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/klaxon:prod-latest
raw_image_path: !_join [":", "${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/klaxon", "prod-{{resolve:ssm:/deployments/klaxon-prod/latest}}"]


environment:
Expand Down

0 comments on commit 26ea214

Please sign in to comment.