Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

fredouric
Copy link

This PR introduces a override_provisioner block allowing users to skip / mock provisioners on resources entirely when running terraform test.
The implementation tries to follow conventions from the override_resource, override_data, and override_module blocks.

Fixes #35459

Target Release

1.11.x

Draft CHANGELOG entry

The terraform test command now supports a override_provision block in test runs. This feature allows to skip or mock provisioners on entire resources.

@fredouric fredouric requested a review from a team as a code owner February 11, 2025 15:50
@crw
Copy link
Contributor

crw commented Feb 11, 2025

Thanks for this submission! I will raise it in the next triage meeting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow mocking/skipping provisioners when running terraform test

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.