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

Error: "zone": [REMOVED] Use location instead #34

Open
sbuvaneshkumar opened this issue Dec 31, 2019 · 0 comments
Open

Error: "zone": [REMOVED] Use location instead #34

sbuvaneshkumar opened this issue Dec 31, 2019 · 0 comments

Comments

@sbuvaneshkumar
Copy link
Contributor

sbuvaneshkumar commented Dec 31, 2019

I am getting following error while I am following Logging with Stackdriver on Kubernetes Engine guide on Qwiklabs.

It seems "zone" is no longer supported in terraform as per https://www.terraform.io/docs/providers/google/d/google_container_engine_versions.html.

I have created a pull request to fix this in #35, please review.

student_01_5baa690b0dc9@cloudshell:~/gke-logging-sinks-demo (qwiklabs-gcp-01-3d7a402c8541)$ make create
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]
Operation "operations/acf.fc2378d4-5aa0-4eec-be6f-4b958c9239ce" finished successfully.
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]
Your active configuration is: [cloudshell-20845]

Initializing the backend...

Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "google" (hashicorp/google) 3.3.0...
- Downloading plugin for provider "random" (hashicorp/random) 2.2.1...

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.google: version = "~> 3.3"
* provider.random: version = "~> 2.2"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Error: "zone": [REMOVED] Use location instead

  on main.tf line 28, in data "google_container_engine_versions" "on-prem":
  28: data "google_container_engine_versions" "on-prem" {


Makefile:34: recipe for target 'create' failed
make: *** [create] Error 1
student_01_5baa690b0dc9@cloudshell:~/gke-logging-sinks-demo (qwiklabs-gcp-01-3d7a402c8541)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant