terraform-google-jx icon indicating copy to clipboard operation
terraform-google-jx copied to clipboard

Error applying IAM policy

Open vfarcic opened this issue 4 years ago • 5 comments

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.

vfarcic avatar Jun 17 '20 17:06 vfarcic