Skip to content

Commit

Permalink
add each.value
Browse files Browse the repository at this point in the history
  • Loading branch information
zachrundle committed Aug 28, 2024
1 parent eacef5b commit c867833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/iam_identity_center/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ resource "aws_ssoadmin_account_assignment" "this" {
instance_arn = tolist(data.aws_ssoadmin_instances.this.arns)[0]
permission_set_arn = aws_ssoadmin_permission_set.this[each.value.policy_set].arn

principal_id = aws_identitystore_group.this.group_id
principal_id = aws_identitystore_group.this[each.value.groups].group_id
principal_type = "GROUP"

target_id = var.aws_account
Expand Down

0 comments on commit c867833

Please sign in to comment.