# #ecr.tf is for the basic building blocks for ECR. Not for individual images. # # individual images are in separate files # # with the naming scheme project-container.tf # #TODO: add codebuild image for codebuild to use when building images # # centos7 - customer portal # # rhel - syslog-ng # #Base RHEL repository used for building XDR images like syslog-ng in CodeBuild # resource "aws_ecr_repository" "codebuild-rhel7" { # name = "codebuild-rhel7" # tags = merge(var.standard_tags, var.tags) # } # #Allow codebuild to access the ECR Repository # resource "aws_ecr_repository_policy" "codebuild-rhel7" { # repository = aws_ecr_repository.codebuild-rhel7.name # policy = <