-
Notifications
You must be signed in to change notification settings - Fork 56
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
Bump Terraform CLI to v1.5.5 #187
Conversation
/test-examples="examples/workspace-inline-aws.yaml" |
ENV TF_IN_AUTOMATION=1 | ||
ENV TF_PLUGIN_CACHE_DIR=/tf/plugin-cache | ||
|
||
ADD "bin/${TARGETOS}_${TARGETARCH}/provider" /usr/local/bin/crossplane-terraform-provider | ||
ADD .gitconfig .gitconfig | ||
|
||
RUN curl -s -L https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_${TARGETOS}_${TARGETARCH}.zip -o terraform.zip \ | ||
RUN curl -s -L https://github.com/upbound/terraform/releases/download/v${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_${TARGETOS}_${TARGETARCH}.zip -o terraform.zip \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a comment to that effect before the RUN
command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bobh66, added a comment explaining the situation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest adding a comment regarding the reason we're pulling from the private repo and why, otherwise someone will change it without realizing.
- Consume the Terraform CLI from https://github.com/upbound/terraform/releases Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
/test-examples="examples/workspace-inline-aws.yaml" |
Description of your changes
This PR bumps the Terraform CLI version to
v1.5.5
and consumes it from https://github.com/upbound/terraform/releases.I have:
make reviewable
to ensure this PR is ready for review.How has this code been tested
Manually tested the provider using Terraform
v1.5.5
using the provider exampleexamples/workspace-inline-aws.yaml
:Also verified via the the uptest run here.