Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation | Getting Started | Creating GCP bucket using provided code sample produces provider error #12973

Open
ASRagab opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
area/docs Improvements or additions to documentation impact/first-48 This bug is likely to be hit during a user's first 48 hours of product evaluation kind/bug Some behavior is incorrect or out of spec
Milestone

Comments

@ASRagab
Copy link

ASRagab commented Sep 30, 2024

File: content/docs/iac/get-started/gcp/review-project.md

Provided code for bucket creation generates:

Diagnostics:
  pulumi:pulumi:Stack (data-projects-dev):
    error: update failed

    Error creating bucket gcp-pulumi-demo-bucket-93209bc: googleapi: Error 412: Request violates constraint 'constraints/storage.uniformBucketLevelAccess', conditionNotMet

  gcp:storage:Bucket (gcp-pulumi-demo-bucket):
    error: 1 error occurred:
        * googleapi: Error 412: Request violates constraint 'constraints/storage.uniformBucketLevelAccess', conditionNotMet

  gcp:storage:Bucket (gcp-pulumi-demo-bucket
):
    error:   sdk-v2/provider2.go:509: sdk.helper_schema: googleapi: Error 412: Request violates constraint 'constraints/storage.uniformBucketLevelAccess', conditionNotMet: [email protected]

Fix was:

const bucket = new gcp.storage.Bucket('my-bucket', {
+  uniformBucketLevelAccess: true,
   location: 'US',
})
@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Sep 30, 2024
@github-project-automation github-project-automation bot moved this to 🤔 Triage in Docs 📚 Sep 30, 2024
@interurban interurban added area/docs Improvements or additions to documentation impact/first-48 This bug is likely to be hit during a user's first 48 hours of product evaluation kind/bug Some behavior is incorrect or out of spec and removed needs-triage Needs attention from the triage team labels Oct 1, 2024
@interurban interurban moved this from 🤔 Triage to 🎬 Ready in Docs 📚 Oct 1, 2024
@interurban interurban added this to the 0.111 milestone Oct 1, 2024
@interurban interurban self-assigned this Oct 1, 2024
@interurban interurban modified the milestones: 0.111, 0.112 Oct 30, 2024
@interurban interurban modified the milestones: 0.112, 0.113 Nov 13, 2024
@interurban interurban modified the milestones: 0.113, 0.114 Dec 2, 2024
@interurban interurban modified the milestones: 0.114, 0.115 Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Improvements or additions to documentation impact/first-48 This bug is likely to be hit during a user's first 48 hours of product evaluation kind/bug Some behavior is incorrect or out of spec
Projects
Status: 🎬 Ready
Development

No branches or pull requests

3 participants