From 3eb4866c72604b42e862b9b5e34ac6d592f2c217 Mon Sep 17 00:00:00 2001 From: Rohan Weeden Date: Thu, 3 Oct 2024 10:49:21 -0400 Subject: [PATCH] Add tags to bucket objects --- terraform/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform/main.tf b/terraform/main.tf index 842e3467..5d35a20f 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -27,6 +27,7 @@ resource "aws_s3_object" "lambda_source" { key = "${filemd5(local.lambda_source_filename)}.zip" source = local.lambda_source_filename source_hash = filemd5(local.lambda_source_filename) + tags = var.tags } resource "aws_s3_object" "lambda_code_dependency_archive" { @@ -34,6 +35,7 @@ resource "aws_s3_object" "lambda_code_dependency_archive" { key = "${filemd5(local.dependency_layer_filename)}.zip" source = local.dependency_layer_filename source_hash = filemd5(local.dependency_layer_filename) + tags = var.tags } resource "aws_s3_object" "cloudformation_template" { @@ -41,6 +43,7 @@ resource "aws_s3_object" "cloudformation_template" { key = "${filemd5(local.cloudformation_template_filename)}.yaml" source = local.cloudformation_template_filename source_hash = filemd5(local.cloudformation_template_filename) + tags = var.tags } resource "aws_cloudformation_stack" "thin_egress_app" {