Skip to content

Commit

Permalink
updating dev and prod image reference to be the hash rather than latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Kat-Alo committed Nov 14, 2023
1 parent b4e8dd4 commit e8e411e
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 e8e411e

Please sign in to comment.