From 5604eb168a2732c1176118308a5b921ae77e0817 Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Wed, 7 Aug 2024 13:19:43 +0300 Subject: [PATCH] feat: Add missed tags --- replication.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/replication.tf b/replication.tf index 79a3447b..da46d23b 100644 --- a/replication.tf +++ b/replication.tf @@ -4,6 +4,8 @@ resource "aws_iam_role" "replication" { name = format("%s-replication", module.this.id) assume_role_policy = data.aws_iam_policy_document.replication_sts[0].json permissions_boundary = var.s3_replication_permissions_boundary_arn + + tags = module.this.tags } data "aws_iam_policy_document" "replication_sts" { @@ -28,6 +30,8 @@ resource "aws_iam_policy" "replication" { name = format("%s-replication", module.this.id) policy = data.aws_iam_policy_document.replication[0].json + + tags = module.this.tags } data "aws_iam_policy_document" "replication" {