terraform-google-jx
terraform-google-jx copied to clipboard
Error applying IAM policy
I'm getting the following error message.
Error: Error applying IAM policy for service account 'projects/jx-20200617185112/serviceAccounts/[email protected]': Error setting IAM policy for service account 'projects/jx-20200617185112/serviceAccounts/[email protected]': googleapi: Error 400: Identity namespace does not exist (jx-20200617185112.svc.id.goog)., badRequest
I tried it twice on a fresh Google project with the same result. However, if I re-run terraform apply
again, it works. I'm guessing its some kind of a race condition and it tries to create resources before its dependencies are created.