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: (IAC-1078) Linting Updates and Code Formatting #235

Merged
merged 6 commits into from
Sep 29, 2023
Merged

Conversation

jarpat
Copy link
Contributor

@jarpat jarpat commented Sep 27, 2023

Changes

Updated the linting workflow config so that branches named with the path pattern (e.g. feat/1078) will also have pipeline automatically triggered for them.

Additionally, updated the linting workflow config so that tflint will now get run against the terraform files under ./modules. In doing so additional formatting warnings appeared which was also resolved.

No functional changes, just formatting.

Tests

Scenario Provider K8s Version Notes
1 AWS v1.26.7-eks-2d98532 Infra creation smoke test
2 AWS v1.26.7-eks-2d98532 Infra creation smoke test, retest

@jarpat jarpat added the enhancement New feature or request label Sep 27, 2023
Copy link
Member

@thpang thpang left a comment

Choose a reason for hiding this comment

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

As long as the tflint exception has been cleaned up with the file rename.

@jarpat
Copy link
Contributor Author

jarpat commented Sep 28, 2023

As long as the tflint exception has been cleaned up with the file rename.

Correct the warning is no longer thrown by tflint. The tflint-ignore: terraform_standard_module_structure line was removed and the file renamed. See tflint job output:
https://github.com/sassoftware/viya4-iac-aws/actions/runs/6340299042/job/17221373208#step:7:5

Copy link
Member

@dhoucgitter dhoucgitter left a comment

Choose a reason for hiding this comment

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

LGTM

@jarpat jarpat merged commit e91ae9a into staging Sep 29, 2023
3 checks passed
@jarpat jarpat deleted the feat/IAC-1078 branch September 29, 2023 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants