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

Support for subnetwork on google_container_cluster resource #5551

Closed
devth opened this issue Mar 10, 2016 · 8 comments
Closed

Support for subnetwork on google_container_cluster resource #5551

devth opened this issue Mar 10, 2016 · 8 comments

Comments

@devth
Copy link

devth commented Mar 10, 2016

https://cloud.google.com/sdk/gcloud/reference/container/clusters/create

@devth
Copy link
Author

devth commented Mar 10, 2016

Currently if a Network is in custom mode, it's impossible to create a cluster since Subnetwork is a required parameter in that case:

* google_container_cluster.standard-test-public: googleapi: Error 400: Subnetwork must be provided for manual-subnet Network "test-m"., badRequest

@lwander
Copy link
Contributor

lwander commented Mar 10, 2016

We try to avoid adding support for non-GA features, a good explanation is given here: #5053 (comment).

@devth
Copy link
Author

devth commented Mar 10, 2016

The self_link issue may not apply here. For example, in #5552 I was able to work around by specifying a string name instead of relying on self_link.

@lwander
Copy link
Contributor

lwander commented Mar 10, 2016

The issue is that if anyone has an existing resource that refers to a cluster with something like ${google_container_cluster.name.self_link}, that reference's value will change and include alpha. The resource referring to the cluster may then have to be destroyed and recreated, which is undesirable.

@JorritSalverda
Copy link

I don't think subnetwork is in beta, seeing it's part of stable gcloud:

https://cloud.google.com/sdk/gcloud/reference/container/clusters/create

I get the following error when trying to create a google_container_cluster in a project with manually configured subnets:

* google_container_cluster.staging: googleapi: Error 400: Subnetwork must be provided for manual-subnet Network "staging"., badRequest

@JorritSalverda
Copy link

Sorry, a closer look shows me it's an alpha feature even though it's in stable gcloud command.

@devth
Copy link
Author

devth commented Apr 28, 2016

Fixed by #5871

@devth devth closed this as completed Apr 28, 2016
@ghost
Copy link

ghost commented Apr 26, 2020

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants