Skip to content

feat: support provider: none to skip cloud auth in tf-checks#350

Merged
clouddrove-ci merged 2 commits intomasterfrom
feat/provider-none-support
Mar 20, 2026
Merged

feat: support provider: none to skip cloud auth in tf-checks#350
clouddrove-ci merged 2 commits intomasterfrom
feat/provider-none-support

Conversation

@clouddrove-ci
Copy link
Copy Markdown
Member

Summary

  • Adds provider: none as a documented option for tf-checks.yml
  • Allows repos to run terraform validate/fmt/init without cloud credentials
  • No logic changes needed — all auth steps are already guarded by provider-specific conditionals, so none naturally skips all auth

Use case

Repos that only need syntax/format validation (no plan) can use:

uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
with:
  working_directory: './examples/basic/'
  provider: none

Test plan

  • Verify existing workflows with provider: aws/azurerm/gcp/digitalocean are unaffected
  • Verify provider: none skips all auth steps and runs validate/fmt successfully

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.
@clouddrove-ci clouddrove-ci requested review from a team and anmolnagpal as code owners March 20, 2026 11:10
@clouddrove-ci clouddrove-ci requested a review from archit-cd March 20, 2026 11:10
Changed default provider to empty and updated show_plan default to false.
@hahirwar-cd hahirwar-cd added the bug Something isn't working label Mar 20, 2026
@dverma-cd dverma-cd self-requested a review March 20, 2026 11:28
Copy link
Copy Markdown
Member

@dverma-cd dverma-cd left a comment

Choose a reason for hiding this comment

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

LGTM

@clouddrove-ci clouddrove-ci merged commit 7d78c7b into master Mar 20, 2026
13 of 16 checks passed
@clouddrove-ci clouddrove-ci deleted the feat/provider-none-support branch March 20, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants