Skip to content

Commit

Permalink
Merge pull request #80 from lgallard/feature/aws_iam_policy_tags
Browse files Browse the repository at this point in the history
feature: Add aws_iam_policy tags
  • Loading branch information
lgallard authored Sep 2, 2023
2 parents 9ee78f9 + 32a0210 commit a489293
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ module "aws_backup_example" {

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.61.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.15.0 |

## Modules

Expand Down
1 change: 1 addition & 0 deletions iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit a489293

Please sign in to comment.