From 32a0210be88bb57dae2036f5d30b7065069131e8 Mon Sep 17 00:00:00 2001 From: "Luis M. Gallardo D" Date: Fri, 1 Sep 2023 22:10:54 -0300 Subject: [PATCH] feature: Add aws_iam_policy tags --- CHANGELOG.md | 6 ++++++ README.md | 2 +- iam.tf | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cca88ff..ed947bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.19.3 (September 1, 2023) + +ENHANCEMENTS: + +* Add tags to `aws_iam_policy` resources + ## 0.19.2 (April 28, 2023) FIXES: diff --git a/README.md b/README.md index d80411e..7b9fbd7 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ module "aws_backup_example" { | Name | Version | |------|---------| -| [aws](#provider\_aws) | 4.61.0 | +| [aws](#provider\_aws) | 5.15.0 | ## Modules diff --git a/iam.tf b/iam.tf index d3b07de..441c775 100644 --- a/iam.tf +++ b/iam.tf @@ -51,6 +51,7 @@ resource "aws_iam_policy" "ab_tag_policy" { count = var.enabled && var.iam_role_arn == null ? 1 : 0 description = "AWS Backup Tag policy" policy = data.aws_iam_policy_document.ab_tag_policy_document[0].json + tags = var.tags } resource "aws_iam_role_policy_attachment" "ab_tag_policy_attach" {