feat: support provider: none to skip cloud auth in tf-checks#350
Merged
clouddrove-ci merged 2 commits intomasterfrom Mar 20, 2026
Merged
feat: support provider: none to skip cloud auth in tf-checks#350clouddrove-ci merged 2 commits intomasterfrom
clouddrove-ci merged 2 commits intomasterfrom
Conversation
Allows repos to run terraform validate/fmt/init without needing cloud credentials by passing provider: none. All auth steps are already guarded by provider-specific conditionals so this works out of the box — just documenting the option.
Changed default provider to empty and updated show_plan default to false.
hahirwar-cd
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
provider: noneas a documented option fortf-checks.ymlterraform validate/fmt/initwithout cloud credentialsnonenaturally skips all authUse case
Repos that only need syntax/format validation (no plan) can use:
Test plan
provider: aws/azurerm/gcp/digitaloceanare unaffectedprovider: noneskips all auth steps and runs validate/fmt successfully