From 99e6d2d4023246614da3b5f1faaa2d5e0891c1e8 Mon Sep 17 00:00:00 2001 From: Dave Arnold Date: Wed, 14 Aug 2024 12:46:36 -0700 Subject: [PATCH] Refactor image pipeline module names and update workflows --- image-pipeline.tf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/image-pipeline.tf b/image-pipeline.tf index 9c5f549..856da2a 100644 --- a/image-pipeline.tf +++ b/image-pipeline.tf @@ -54,7 +54,8 @@ module "image_pipeline_repos" { content = templatefile( "${path.module}/workflows/s3_upload.yaml.tpl", { - repo_name = each.value + repo_name = each.value + bucket_name = "image-pipeline-assets" } ) } @@ -104,6 +105,15 @@ module "aws_image_pipeline" { repo_name = "aws-image-pipeline" } ) + }, + { + path = ".github/workflows/terraform-apply.yaml" + content = templatefile( + "${path.module}/workflows/terraform-apply.yaml.tpl", + { + repo_name = "aws-image-pipeline" + } + ) } ] } \ No newline at end of file