Skip to content

Commit

Permalink
Merge pull request #10 from mineiros-io/soerenmartius/fix-to-map
Browse files Browse the repository at this point in the history
Remove broken tomap in memberships
  • Loading branch information
soerenmartius authored Feb 3, 2022
2 parents 5a5d8fc + fb8c855 commit 17169ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion 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.0.4]

## Fixed

- Remove broken `tomap` in memberships

## [0.0.3]

### Added
Expand All @@ -31,7 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial Implementation

[unreleased]: https://github.com/mineiros-io/terraform-google-identity-group/compare/v0.0.3...HEAD
[unreleased]: https://github.com/mineiros-io/terraform-google-identity-group/compare/v0.0.4...HEAD
[0.0.4]: https://github.com/mineiros-io/terraform-google-identity-group/compare/v0.0.3...v0.0.4
[0.0.3]: https://github.com/mineiros-io/terraform-google-identity-group/compare/v0.0.2...v0.0.3
[0.0.2]: https://github.com/mineiros-io/terraform-google-identity-group/compare/v0.0.1...v0.0.2
[0.0.1]: https://github.com/mineiros-io/terraform-google-identity-group/releases/tag/v0.0.1
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ locals {
}

resource "google_cloud_identity_group_membership" "membership" {
for_each = var.module_enabled ? local.memberships : tomap({})
for_each = var.module_enabled ? local.memberships : {}

group = google_cloud_identity_group.group[0].id

Expand Down

0 comments on commit 17169ed

Please sign in to comment.