Skip to content

Commit

Permalink
iam-saml: add tags
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 27, 2022
1 parent 32ca5c1 commit 0a5baac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,7 @@

* 1.15.4 -- 2022-05-26
- remove billing-policies, move into iam-general-policies

* 1.15.5 -- 2022-05-27
- iam-saml
- add tags
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.15.4"
_module_version = "1.15.5"
}
11 changes: 5 additions & 6 deletions iam-saml/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,9 @@ resource "aws_iam_saml_provider" "saml" {
name = var.saml_provider_name
saml_metadata_document = data.external.saml_metadata.result.value

# when the provider supports tags, enable this section
# tags = merge(
# var.tags,
# local.base_tags,
# map("Name", local.provider_name),
# )
tags = merge(
var.tags,
local.base_tags,
{ "Name" = var.saml_provider_name },
)
}

0 comments on commit 0a5baac

Please sign in to comment.