Skip to content

Backport of query: add -query flag to validate command into v1.14#37707

Merged
dsa0x merged 1 commit intov1.14from
backport/sams/validate-query-command/largely-pretty-hippo
Oct 1, 2025
Merged

Backport of query: add -query flag to validate command into v1.14#37707
dsa0x merged 1 commit intov1.14from
backport/sams/validate-query-command/largely-pretty-hippo

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Oct 1, 2025

Backport

This PR is auto-generated from #37671 to be assessed for backporting due to the inclusion of the label 1.14-backport.

🚨

Warning automatic cherry-pick of commits failed. If the first commit failed,
you will see a blank no-op commit below. If at least one commit succeeded, you
will see the cherry-picked commits up to, not including, the commit where
the merge conflict occurred.

The person who merged in the original PR is:
@dsa0x
This person should resolve the merge-conflict(s) by either:

  • Manually completing the cherry picks into this branch
  • Creating a new branch and manually cherry-picking all commits being backported

merge conflict error: POST https://api.github.com/repos/hashicorp/terraform/merges: 409 Merge conflict []

The below text is copied from the body of the original PR.


This adds a -query flag to the validate command, enabling offline validation of the query files. With this flag, all other terraform-related files are also validated.

image

Target Release

1.14.x

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

Overview of commits

@github-actions github-actions bot requested a review from dsa0x October 1, 2025 09:34
@hashicorp-cla-app
Copy link
Copy Markdown

hashicorp-cla-app bot commented Oct 1, 2025

CLA assistant check
All committers have signed the CLA.

@hashicorp-cla-app
Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


temp seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA.
If you have already a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.

@dsa0x dsa0x force-pushed the backport/sams/validate-query-command/largely-pretty-hippo branch from d1b93cb to 2ab9617 Compare October 1, 2025 09:36
@dsa0x dsa0x requested a review from dbanck October 1, 2025 09:36
Copy link
Copy Markdown
Member

@dbanck dbanck left a comment

Choose a reason for hiding this comment

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

Thanks!

@dsa0x dsa0x marked this pull request as ready for review October 1, 2025 10:17
@dsa0x dsa0x requested a review from a team as a code owner October 1, 2025 10:17
@dsa0x dsa0x merged commit 129d7bd into v1.14 Oct 1, 2025
13 checks passed
@dsa0x dsa0x deleted the backport/sams/validate-query-command/largely-pretty-hippo branch October 1, 2025 10:26
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions bot commented Nov 1, 2025

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 Nov 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants