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

backend/remote: add support for -refresh=false, -refresh-only, and -replace options #28746

Merged
merged 7 commits into from
May 19, 2021

Conversation

radditude
Copy link
Member

Adds support for several new options when running plans and applies using the remote backend for remote runs in Terraform Cloud. Going forward, users will have access to the following new flags when running the plan or apply commands:

  • -refresh=false
  • -replace
  • -refresh-only

These options will be released to Terraform Enterprise users in v202106; anyone attempting to use these options with an earlier release of Terraform Enterprise will receive a validation error, since the new run options are not supported.

@radditude radditude added backend/remote 0.15-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged labels May 18, 2021
@radditude radditude requested review from hc-github-team-tf-core, chrisarcand and a team and removed request for hc-github-team-tf-core May 18, 2021 22:46
Copy link
Contributor

@alisdair alisdair left a comment

Choose a reason for hiding this comment

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

This looks good to me! I appreciate the new test coverage in particular.

Copy link
Member

@chrisarcand chrisarcand left a comment

Choose a reason for hiding this comment

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

Looks good!

ℹ️ I added a quick commit to go mod tidy it all up.

@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0.15-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged backend/remote
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants