Giter Club home page Giter Club logo

Comments (5)

LusciousPear avatar LusciousPear commented on August 14, 2024 1

Thank you for your quick replies. Yes, we set the org_id variable. Also, we do have roles/resourcemanager.organizationViewer explicitly enabled on the Service Account which has the creds Project Factory uses to create these projects.

from terraform-google-project-factory.

morgante avatar morgante commented on August 14, 2024 1

Do you think you could share the full IAM roles info on one of the projects where you saw this issue? (Feel free to send privately: [email protected])

from terraform-google-project-factory.

morgante avatar morgante commented on August 14, 2024

Do you know what permission you were missing?

This unfortunately is a hard issue to resolve due to how Terraform works, but https://github.com/terraform-google-modules/terraform-google-project-factory/blob/master/docs/TROUBLESHOOTING.md#unable-to-query-status-of-default-gce-service-account should address that.

@adrienthebo One though, could we also see if running terraform plan -refresh=false lets you work through the state deadlock.

from terraform-google-project-factory.

adrienthebo avatar adrienthebo commented on August 14, 2024

A quick inspection of the error message indicates that the service account may have not had the resourcemanager.organizations.get permission, typically granted through roles/resourcemanager.organizationViewer. I believe that #21 allows users to bypass that requirement by directly providing the organization ID - when you invoked Terraform with the project-factory did you set the org_id variable?

@morgante will do - I'll make a note to test that path.

from terraform-google-project-factory.

cdcme avatar cdcme commented on August 14, 2024

FWIW, and not entirely sure whether or not this is helpful info, but I have seen this issue too. For now, I had to comment out the null_resource that removes default service accounts. I just remove the SAs manually.

from terraform-google-project-factory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.