Skip to content

terraform test: variable definitions can now be provided directly in test files #594

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

Merged
merged 2 commits into from
Jul 24, 2025

Conversation

liamcervante
Copy link
Member

In v1.13 of Terraform, we will allow users to write variable blocks directly within Terraform Test files. This PR updates the documentation to call this out. The syntax of the new variable block is identical to the existing syntax for variable blocks elsewhere within Terraform, so I don't think I needed to go into too much detail.

@liamcervante liamcervante requested review from a team as code owners July 18, 2025 09:06
Copy link

github-actions bot commented Jul 18, 2025

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Thu Jul 24 08:33:54 UTC 2025
Unified Docs API ✅ Ready (Inspect) Visit Preview Thu Jul 24 08:28:20 UTC 2025

Copy link

github-actions bot commented Jul 18, 2025

Broken Link Checker

Full Github Actions output

Copy link
Contributor

@robin-norwood robin-norwood left a comment

Choose a reason for hiding this comment

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

lgtm! A few suggestions and a clarification.

@liamcervante liamcervante merged commit 70ff2d3 into main Jul 24, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants