Skip to content

AlloyDB Relax regular expression for PSC allowed_consumer_projects to deal with project IDs as well as project numbers #18327

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

Open
simonebruzzechesse opened this issue Jun 5, 2024 · 1 comment

Comments

@simonebruzzechesse
Copy link

simonebruzzechesse commented Jun 5, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version & Provider Version(s)

Terraform v1.8.4
on

  • provider registry.terraform.io/hashicorp/google v5.32.0
  • provider registry.terraform.io/hashicorp/google-beta v5.32.0

Affected Resource(s)

google_alloydb_instance

Terraform Configuration

module "alloydb" {
  source       = "./fabric/modules/alloydb"
  project_id   = var.project_id
  cluster_name = "db"
  location     = var.region
  name         = "db"
  network_config = {
    psc_config = { allowed_consumer_projects = [**var.project_id**] }
  } 
}

Debug Output

https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/actions/runs/9382544629/job/25834205752

Expected Behavior

allowed_consumer_projects in psc_instance_config should deal with project ids as well as project numbers

Actual Behavior

No response

Steps to reproduce

  1. terraform apply

Important Factoids

No response

References

No response

b/345568902

@github-actions github-actions bot added forward/review In review; remove label to forward service/alloydb labels Jun 5, 2024
@ggtisc ggtisc self-assigned this Jun 5, 2024
@ggtisc
Copy link
Collaborator

ggtisc commented Jun 6, 2024

Hi @simonebruzzechesse please provide us the main configuration of your google_alloydb_instance to replicate this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants