Open spkane opened 1 year ago
Likely initial_group_config
needs to be set Computed
Sending an explicit "EMPTY"
to the API on create calls is likely required. Rather than Computed
, we could consider setting the value to "EMPTY"
in the import function, or in Read when the value is empty (""
) or nil
. We'd want to state in the docs that imported resources must always specify a value of "EMPTY"
in that case (which, given what the field does, feels reasonable).
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Re-opening because we now have 2 users claiming that the fix did not stick: https://github.com/GoogleCloudPlatform/magic-modules/pull/7348#issuecomment-1819948732 and https://github.com/GoogleCloudPlatform/magic-modules/pull/7348#issuecomment-2093015603.
cc @dawnbreak @nathou you can add any further details here instead of the PR.
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
N/A
Expected Behavior
Actual Behavior
initial_group_config
value which, I believe, I only allowed during initial group creation, and therefore throws an error.terraform
immediately after this error returns no changes, and things appear to work fine at this point.Steps to Reproduce
terraform import google_cloud_identity_group.everyone groups/99omg42n3sillyf
terraform apply
terraform apply
Important Factoids
N/A
References
N/A