Fix workforce identity federation provider configuration (#3626)
* Fix workforce identity federation provider configuration Remove redundant 'organizations/' prefix from parent parameter as var.organization_id already contains the full organization path. * Update test to match corrected parent parameter The test expected the redundant 'organizations/' prefix, but the fix correctly removes this duplication. --------- Co-authored-by: Julio Castillo <jccb@google.com>
This commit is contained in:
@@ -39,7 +39,7 @@ locals {
|
||||
|
||||
resource "google_iam_workforce_pool" "default" {
|
||||
count = var.workforce_identity_config == null ? 0 : 1
|
||||
parent = "organizations/${var.organization_id}"
|
||||
parent = var.organization_id
|
||||
location = "global"
|
||||
workforce_pool_id = var.workforce_identity_config.pool_name
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ values:
|
||||
disabled: null
|
||||
display_name: null
|
||||
location: global
|
||||
parent: organizations/organizations/1122334455
|
||||
parent: organizations/1122334455
|
||||
session_duration: 3600s
|
||||
timeouts: null
|
||||
workforce_pool_id: test-pool
|
||||
|
||||
Reference in New Issue
Block a user