Skip to content

Commit

Permalink
remove duplicate resource group
Browse files Browse the repository at this point in the history
  • Loading branch information
zachrundle committed Aug 22, 2024
1 parent ebbfde1 commit c754509
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions modules/iam_identity_users/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
data "aws_ssoadmin_instances" "this" {}

# Create SSO Groups
resource "aws_identitystore_group" "this" {
identity_store_id = tolist(data.aws_ssoadmin_instances.this.identity_store_ids)[0]
display_name = "MyGroup"
description = "Some group name"
}


resource "aws_identitystore_group" "this" {
for_each = { for group_name in var.groups : group_name => group_name }
display_name = each.value
Expand Down

0 comments on commit c754509

Please sign in to comment.