Skip to content

Commit

Permalink
Merge pull request #11 from mineiros-io/fix/unsupported-attribute-whe…
Browse files Browse the repository at this point in the history
…n-using-policy-bindings

fix: unsupported attribute when using policy_bindings
  • Loading branch information
soerenmartius authored Dec 29, 2021
2 parents 42301bf + 5c0e137 commit afff354
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.2]

### Fixed

- unsupported attribute when using policy_bindings

## [0.1.1]

### Added
Expand All @@ -22,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- markdown-link-check-disable -->

[unreleased]: https://github.com/mineiros-io/terraform-google-secret-manager/compare/v0.1.1...HEAD
[0.1.2]: https://github.com/mineiros-io/terraform-google-secret-manager/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/mineiros-io/terraform-google-secret-manager/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/mineiros-io/terraform-google-secret-manager/releases/tag/v0.1.0

Expand Down
4 changes: 2 additions & 2 deletions iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ module "iam" {
module_depends_on = var.module_depends_on

secret_id = google_secret_manager_secret.secret[0].secret_id
role = each.value.role
members = each.value.members
role = try(each.value.role, null)
members = try(each.value.members, null)
authoritative = try(each.value.authoritative, true)
policy_bindings = try(each.value.policy_bindings, null)
}

0 comments on commit afff354

Please sign in to comment.