-
Notifications
You must be signed in to change notification settings - Fork 1
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
[#155] Add tfsec to the CI of the generated project #178
Conversation
tfsec is not working correctly because of that bug: #179 I have moved this PR to draft and will revise it after 179 will be fixed. |
1a71c6c
to
b0f8243
Compare
8a25306
to
40b5523
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please rebase against this branch chore/151-refactor-modules
(PR #168) as Hoang rebased many modules and potentially we will have conflicts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice changes!
@Nihisil among the new ignore tags added, do you see any of them that we should consider implementing in another PR? If yes, let me know which one, I can help with creating the issues and trying to implement it 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase and adjust with the latest changes 🙏
40b5523
to
63f6030
Compare
63f6030
to
6adae42
Compare
6adae42
to
e47d487
Compare
@malparty It's a great idea! I included a ticket to address an issue that was previously ignored: #189. As for the other issues, some simply don't make sense to address, for instance, forcing encryption for ALB S3 bucket. In other cases, there's some uncertainty whether they should be addressed, such as using a custom KMS key for ECR images. |
What happened 👀
tfsec
GH action into the generated project template.TFSEC_VERSION
specified with the requiredv
prefix, astfsec
uses this format for release tags.tfsec
is included in the.tool-versions
file for asdf, so that developers can run checks locally during the development process.Insight 📝
Our template had multiple warnings listed by tfsec. A few of these warnings were addressed and resolved accordingly, while others were silenced since they don't have much sense.
Proof Of Work 📹
tfsec
action was initiated and the CI passed.CI for newly generated project: