You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using skip_iam_grants to skip custom role creation with use_existing_service_account fails. In my terraform configuration, I create a service account, assign the already created custom role with proper permissions. I set the service account name and private key to the module.
Expected behavior
The errors indicate that the module is still trying to assign custom role permission even though the skip_iam_grants is true and I use an existing service account. I am expecting that this step in
On line #L127 of main.tf, you're missing a condition that checks if skip_iam_grants is true, similar to the check for creating the custom role #L118. The expected behavior is that we don't assign a custom role if we have already created it and assigned it to an already created SA.
Please complete the following information):
Terraform Version: "~> 1.8.0"
Module Version "~> 3.0"
The text was updated successfully, but these errors were encountered:
Using
skip_iam_grants
to skip custom role creation withuse_existing_service_account
fails. In my terraform configuration, I create a service account, assign the already created custom role with proper permissions. I set the service account name and private key to the module.Module reference:
I get the following error:
Expected behavior
The errors indicate that the module is still trying to assign custom role permission even though the
skip_iam_grants
is true and I use an existing service account. I am expecting that this step interraform-gcp-config/main.tf
Line 124 in c0c0fc7
On line #L127 of main.tf, you're missing a condition that checks if skip_iam_grants is true, similar to the check for creating the custom role #L118. The expected behavior is that we don't assign a custom role if we have already created it and assigned it to an already created SA.
Please complete the following information):
The text was updated successfully, but these errors were encountered: