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

Improve instructions to use the 3rd-party plugin directory #35

Merged
merged 1 commit into from
Mar 3, 2019

Conversation

dghubble
Copy link
Member

@dghubble dghubble commented Mar 3, 2019

Note: List Terraform v0.11 as a requirement. While nothing has been done to
break functionality with old Terraform versions, they're quite old. Going
forward, v0.11+ will be assumed

@dghubble
Copy link
Member Author

dghubble commented Mar 3, 2019

Closes #27

* Refresh the requirements, install, and usage documentation
* Use Terraform's 3rd-party plugin directory to provide a mechinism
for migrating infrastructure between plugin versions
* https://www.terraform.io/docs/configuration/providers.html#third-party-plugins

Note: List Terraform v0.11 as a requirement. While nothing has been done to
break functionality with old Terraform versions, they're quite old. Going
forward, v0.11+ will be assumed
@dghubble dghubble merged commit 07643dc into master Mar 3, 2019
@dghubble dghubble deleted the improve-docs branch March 3, 2019 00:58

## Installation
```sh
VERSION=v0.3.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docker friendly snippet:

ENV TERRAFORM_PROVIDER_RKE_VERSION=0.9.0
RUN mkdir -p .terraform/plugins/linux_amd64 && \
    wget https://github.com/coreos/terraform-provider-ct/releases/download/v${TERRAFORM_PROVIDER_CT_VERSION}/terraform-provider-ct-v${TERRAFORM_PROVIDER_CT_VERSION}-linux-amd64.tar.gz -O - | tar -xzvf - terraform-provider-ct-v${TERRAFORM_PROVIDER_CT_VERSION}-linux-amd64/terraform-provider-ct --strip-components=1 && \
    mv ./terraform-provider-ct .terraform/plugins/linux_amd64/terraform-provider-ct_v${TERRAFORM_PROVIDER_CT_VERSION}_x4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants