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