Skip to content

Commit

Permalink
fix(modules/kms): use the google_tags_location_tag_binding Terrafor…
Browse files Browse the repository at this point in the history
…m resource to bind tags on KMS key rings (#2501)
  • Loading branch information
arnodasilva authored Aug 20, 2024
1 parent 0420dec commit dff209f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/kms/tags.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
* limitations under the License.
*/

resource "google_tags_tag_binding" "binding" {
resource "google_tags_location_tag_binding" "binding" {
for_each = var.tag_bindings
parent = "//cloudkms.googleapis.com/${local.keyring.id}"
tag_value = each.value
location = var.keyring.location
}

0 comments on commit dff209f

Please sign in to comment.