Last active
March 19, 2019 01:01
-
-
Save andresvia/cb91983e06156b756959bb67833136d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@60b4defcedf2:/tmp/tf012# ls -lhart | |
total 41M | |
-rwxrwxr-x 1 root root 41M Feb 28 21:12 terraform | |
-rw-r--r-- 1 root root 73 Mar 19 00:54 main.tf | |
drwxr-xr-x 4 root root 128 Mar 19 00:58 . | |
drwxrwxrwt 1 root root 4.0K Mar 19 00:58 .. | |
root@60b4defcedf2:/tmp/tf012# cat main.tf | |
resource "random_pet" "random_pet" { | |
name_prefix = "random_pet_" | |
} | |
root@60b4defcedf2:/tmp/tf012# TF_LOG=debug ./terraform init | |
2019/03/19 01:00:52 [INFO] Terraform version: 0.12.0 beta1 | |
2019/03/19 01:00:52 [INFO] Go runtime version: go1.11.5 | |
2019/03/19 01:00:52 [INFO] CLI args: []string{"/tmp/tf012/terraform", "init"} | |
2019/03/19 01:00:52 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
2019/03/19 01:00:52 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2019/03/19 01:00:52 [INFO] CLI command args: []string{"init"} | |
Initializing the backend... | |
2019/03/19 01:00:52 [DEBUG] New state was assigned lineage "94e6c650-0a85-7a20-be1c-61d26ef456b1" | |
2019/03/19 01:00:52 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) | |
2019/03/19 01:00:52 [DEBUG] checking for provider in "." | |
2019/03/19 01:00:52 [DEBUG] checking for provider in "/tmp/tf012" | |
2019/03/19 01:00:52 [DEBUG] checking for provisioner in "." | |
2019/03/19 01:00:52 [DEBUG] checking for provisioner in "/tmp/tf012" | |
2019/03/19 01:00:52 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory | |
2019/03/19 01:00:52 [DEBUG] checking for provider in "." | |
2019/03/19 01:00:52 [DEBUG] checking for provider in "/tmp/tf012" | |
2019/03/19 01:00:52 [DEBUG] plugin requirements: "random"="" | |
2019/03/19 01:00:52 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json | |
Initializing provider plugins... | |
- Checking for available provider plugins... | |
2019/03/19 01:00:52 [DEBUG] fetching provider versions from "https://registry.terraform.io/v1/providers/-/random/versions" | |
No available provider "random" plugins are compatible with this Terraform version. | |
From time to time, new Terraform major releases can change the requirements for | |
plugins such that older plugins become incompatible. | |
Terraform checked all of the plugin versions matching the given constraint: | |
(any version) | |
Unfortunately, none of the suitable versions are compatible with this version | |
of Terraform. If you have recently upgraded Terraform, it may be necessary to | |
move to a newer major release of this provider. Alternatively, if you are | |
attempting to upgrade the provider to a new major version you may need to | |
also upgrade Terraform to support the new version. | |
Terraform v0.12.0-beta1 was released before all providers were updated for | |
compatibility. For more information on provider availability for beta1, | |
including workarounds for testing with not-yet-supported providers, please see | |
the release announcement: | |
https://www.hashicorp.com/blog/announcing-terraform-0-1-2-beta1 | |
Error: no available version is compatible with this version of Terraform | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment