Created
April 24, 2018 08:45
-
-
Save caius/189339f4e515a6f77b3250300f551478 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
provider "triton" { | |
url = "https://cloudapi.dc1.triton.xxx.cloud" | |
account = "caius" | |
key_id = "xxx" | |
} | |
data "triton_image" "base-64-lts" { | |
name = "base-64-lts" | |
version = "17.4.0" | |
} | |
/* | |
↳ caius$ terraform plan | |
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
data.triton_image.base-64-lts: Refreshing state... | |
Error: Error refreshing state: 1 error(s) occurred: | |
* data.triton_image.base-64-lts: 1 error(s) occurred: | |
* data.triton_image.base-64-lts: data.triton_image.base-64-lts: Error Creating Triton Compute Client: invalid data center in URL: failed to parse datacenter from 'https://cloudapi.dc1.triton.xxx.cloud' | |
*/ |
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
provider "triton" { | |
version = "~> 0.4.0" | |
url = "https://cloudapi.dc1.triton.xxx.cloud" | |
account = "caius" | |
key_id = "xxx" | |
} | |
data "triton_image" "base-64-lts" { | |
name = "base-64-lts" | |
version = "17.4.0" | |
} | |
/* | |
↳ caius$ terraform plan | |
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
data.triton_image.base-64-lts: Refreshing state... | |
------------------------------------------------------------------------ | |
No changes. Infrastructure is up-to-date. | |
This means that Terraform did not detect any differences between your | |
configuration and real physical resources that exist. As a result, no | |
actions need to be performed. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment