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

Missing subnet field in google_vpc_access_connector #8714

Closed
lanilim opened this issue Mar 18, 2021 · 2 comments
Closed

Missing subnet field in google_vpc_access_connector #8714

lanilim opened this issue Mar 18, 2021 · 2 comments
Assignees
Labels
bug forward/review In review; remove label to forward service/vpcaccess

Comments

@lanilim
Copy link

lanilim commented Mar 18, 2021

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

If this is a bug report (for when something is there, but doesn't work how it should), please use the bug issue template instead.

If this is an enhancement / feature request (for when something (a resource, field, etc.) is missing, and should be added), please use the enhancement template instead.

If you have a support request or question, please check out the other resources listed here.

If your issue does not fit into one of the above templates, please fill out the following:

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 or link the pull request to this issue.

Terraform Version

terraform {
required_version = ">= 0.13.5"
}

Affected Resource(s)

  • google_vpc_access_connector

Terraform Configuration Files (if applicable)

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://www.hashicorp.com/security
# If reproducing the bug involves modifying the config file (e.g., apply a config,
# change a value, apply the config again, see the bug) then please include both the
# version of the config before the change, and the version of the config after the change.

Issue Description

Unable to use subnet variable in resource google_vpc_access_connector
As per https://cloud.google.com/sdk/gcloud/reference/compute/networks/vpc-access/connectors/create subnet can be set instead of network and ip cidr range.

Important Factoids

The subnet feature might still be in beta mode, so unsure if this is expected.

References

  • #0000
@edwardmedia edwardmedia self-assigned this Mar 18, 2021
@edwardmedia
Copy link
Contributor

edwardmedia commented Mar 18, 2021

@lanilim I do see below beta feature available in gcloud that accepts subnet, but we follow the schema published on api. I would suggest to file an enhancement once it is available on its api.

uri: https://vpcaccess.googleapis.com/v1beta1/projects/myproject/locations/us-central1/connectors?alt=json&connectorId=my-vpc-connector
method: POST
{"maxThroughput": 300, "minThroughput": 200, "network": "default", "subnet": {"name": "us-east1"}}

@ghost
Copy link

ghost commented Apr 17, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2021
@github-actions github-actions bot added forward/review In review; remove label to forward service/vpcaccess labels Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug forward/review In review; remove label to forward service/vpcaccess
Projects
None yet
Development

No branches or pull requests

2 participants