Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
make ecr docker image public
Browse files Browse the repository at this point in the history
  • Loading branch information
thought-tobi committed Mar 27, 2024
1 parent e667d84 commit 3409ca5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,23 @@ data "aws_caller_identity" "current" {}
module "mood_tracker_repository" {
source = "terraform-aws-modules/ecr/aws"

repository_type = "public"
repository_name = "mood-tracker"
repository_image_tag_mutability = "MUTABLE"

repository_read_write_access_arns = [
data.aws_caller_identity.current.arn,
]

public_repository_catalog_data = {
# description = "telegram mood tracker"
# about_text = file("${path.module}/files/ABOUT.md")
# usage_text = file("${path.module}/files/USAGE.md")
# operating_systems = ["Linux"]
# architectures = ["x86"]
# logo_image_blob = filebase64("${path.module}/files/clowd.png")
}

repository_lifecycle_policy = local.repository_lifecycle_policy
}

Expand Down

0 comments on commit 3409ca5

Please sign in to comment.