123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- module "codebuild-rhel7" {
- source = "../../submodules/codebuild/codebuild-ecr-image"
- name = "codebuild-rhel7"
- github_clone_url = "https://github.xdr.accenturefederalcyber.com/mdr-engineering/mdr-codebuild-images.git"
- source_version = "master"
- standard_tags = local.standard_tags
- tags = var.tags
- codebuild_assume_role_arn = aws_iam_role.codebuild_role.arn
- schedule_expression = "cron(05 16 * * ? *)"
- env_vars = {
- "IMAGE_REPO_NAME" = {
- value = "codebuild-rhel7"
- }
- "IMAGE_TAG" = {
- value = "latest"
- }
- "AWS_ACCOUNT_ID" = {
- value = var.aws_account_id
- }
- "DOCKERBUILDPATH" = {
- value = "rhel7"
- }
- }
- }
- module "codebuild-rhel8" {
- source = "../../submodules/codebuild/codebuild-ecr-image"
- name = "codebuild-rhel8"
- github_clone_url = "https://github.xdr.accenturefederalcyber.com/mdr-engineering/mdr-codebuild-images.git"
- source_version = "master"
- standard_tags = local.standard_tags
- tags = var.tags
- codebuild_assume_role_arn = aws_iam_role.codebuild_role.arn
- schedule_expression = "cron(05 16 * * ? *)"
- env_vars = {
- "IMAGE_REPO_NAME" = {
- value = "codebuild-rhel8"
- }
- "IMAGE_TAG" = {
- value = "latest"
- }
- "AWS_ACCOUNT_ID" = {
- value = var.aws_account_id
- }
- "DOCKERBUILDPATH" = {
- value = "rhel8"
- }
- }
- }
- module "codebuild-rhel9beta" {
- source = "../../submodules/codebuild/codebuild-ecr-image"
- name = "codebuild-rhel9beta"
- github_clone_url = "https://github.xdr.accenturefederalcyber.com/mdr-engineering/mdr-codebuild-images.git"
- source_version = "master"
- standard_tags = local.standard_tags
- tags = var.tags
- codebuild_assume_role_arn = aws_iam_role.codebuild_role.arn
- schedule_expression = "cron(05 16 * * ? *)"
- env_vars = {
- "IMAGE_REPO_NAME" = {
- value = "codebuild-rhel9beta"
- }
- "IMAGE_TAG" = {
- value = "latest"
- }
- "AWS_ACCOUNT_ID" = {
- value = var.aws_account_id
- }
- "DOCKERBUILDPATH" = {
- value = "rhel9-beta"
- }
- }
- }
|