Skip to content
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

feat: add terraform fmt workflow #153

Merged
merged 9 commits into from
Dec 4, 2024
Merged

Conversation

cliftonHPE
Copy link
Contributor

@cliftonHPE cliftonHPE commented Dec 4, 2024

Description

  • Added terraform check to the linting workflow that performs terraform fmt -recursive -check.
  • Adds terraform fmt --recursive . to the Justfile fmt command.
  • Format .tf files.
  • Updated docs to reflect format changes.

Related Issue(s)

Copy link
Contributor

@1riatsila1 1riatsila1 left a comment

Choose a reason for hiding this comment

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

Looks good, but please just double check that this does exit with the correct status code if the tf files are not formatted :-)

@cliftonHPE cliftonHPE merged commit fd4714b into main Dec 4, 2024
2 checks passed
@cliftonHPE cliftonHPE deleted the cd/feat/terraform-fmt-workflow branch December 4, 2024 13:26
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.

2 participants