Creates a public AWS Elastic Container Registry (ECR) repository named 'bar' with detailed catalog data and tags.

Terraform Template

resource "aws_ecrpublic_repository" "foo" {

  catalog_data {
    about_text = "About Text"
    architectures = ["ARM"]
    description = "Description"
    logo_image_blob = filebase64(image.png)
    operating_systems = ["Linux"]
    usage_text = "Usage Text"
  }
  provider = "aws.us_east_1"
  repository_name = "bar"

  tags = {
    env = "production"
  }
}