Skip to content

fix(tf-checks): load environment variables for Terraform checks - #415

Merged
hahirwar-cd merged 2 commits into
clouddrove:masterfrom
kalyani-cd:fix/update-tf-check
Jul 28, 2026
Merged

fix(tf-checks): load environment variables for Terraform checks#415
hahirwar-cd merged 2 commits into
clouddrove:masterfrom
kalyani-cd:fix/update-tf-check

Conversation

@kalyani-cd

Copy link
Copy Markdown
Member

Summary

This PR updates the tf-check workflow to load required environment variables from the env-vars secret before running Terraform checks.

Changes

  • Added support for the env-vars secret in the tf-check workflow.
  • Added a step to export environment variables to $GITHUB_ENV.
  • Ensures required environment variables are available during Terraform validation and plan execution.
  • Avoids hardcoding environment-specific values in the Terraform module.

@kalyani-cd
kalyani-cd requested review from a team, anmolnagpal and clouddrove-ci as code owners July 27, 2026 12:40
@kalyani-cd
kalyani-cd requested a review from archit-cd July 27, 2026 12:40
@kalyani-cd kalyani-cd changed the title fix: load environment variables for Terraform checks fix(tf-checks): load environment variables for Terraform checks Jul 27, 2026
hahirwar-cd
hahirwar-cd previously approved these changes Jul 27, 2026

@pendharevaibhav-cd pendharevaibhav-cd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@hahirwar-cd
hahirwar-cd requested a review from nikita-cd July 28, 2026 10:28
@hahirwar-cd
hahirwar-cd merged commit 52af4dd into clouddrove:master Jul 28, 2026
15 checks passed
@kalyani-cd
kalyani-cd deleted the fix/update-tf-check branch July 28, 2026 10:30
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