QuestionQ102

VerifiedBootstrapping and maintaining a Google Cloud organization

You work for a healthcare company, and regulations require that all resources be created in a United States-based region. You tried to create a secret in Secret Manager but received this error message:

Constraint constraints/gcp.resourceLocations violated for [orgpolicy:projects/000000] attempting to create a secret in [global]

You need to resolve the error while staying compliant with the regulations. What should you do?

Explanation

Secret Manager automatic replication requires the global location to be permitted and can replicate secret payload data without geographic restriction. A user-managed replication policy lets the secret be replicated only to selected, organization-policy-allowed U.S. locations, satisfying the location constraint and the data-residency requirement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!