terraform
terraform copied to clipboard
GCP installation issues
I am following this manual: https://cluster-in-the-cloud.readthedocs.io/en/latest/google-infrastructure.html Running command in GCP cloud shell.
docker run -it -e CLOUDSDK_CONFIG=/config/gcloud \
-v $CLOUDSDK_CONFIG:/config/gcloud \
clusterinthecloud/google-install
...
[EXECUTE] ssh-keygen -t rsa -f /root/.ssh/citc-google -C provisioner -N ""
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/citc-google.
Your public key has been saved in /root/.ssh/citc-google.pub.
The key fingerprint is:
SHA256:MRZr/antwrE7d470C0GfAXIrkVqbxJe5GFgAkdnt3Oo provisioner
The key's randomart image is:
+---[RSA 3072]----+
| o*o*+.oo |
| o o+B++o |
| **oBo.. |
| o.o*+oo o |
| S .+ o |
| oo . |
| o.o+ |
| Eo.+. |
| .=oo+. |
+----[SHA256]-----+
[EXECUTE] terraform init google
Initializing modules...
- budget_filer_shared_storage in google/storage/nfs-storage-budget
Error: Unsupported Terraform Core version
This configuration does not support Terraform version 0.12.21. To proceed,
either choose another supported Terraform version or update the root module's
version constraint. Version constraints are normally set for good reason, so
updating the constraint may lead to other errors or unexpected behavior.
[ERROR] Command '['terraform', 'init', 'google']' returned non-zero exit status 1.