-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(secrets): Add Terraform multiline secrets handling #3907
feat(secrets): Add Terraform multiline secrets handling #3907
Conversation
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.
🔥
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.
Looks great! :) 🚀 🍒
and we need to move the other 2 parsers to join your terraform parser in the same folder :)
return False | ||
|
||
|
||
def ignore_secret( |
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.
If we add a mechanism for ignoring some data- maybe it can be added to a new file of single line parser (like there is a multiline parser)?
that's the same as skipping comments, but in this case, that's skipping specific blocks with data as a prefix.
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.
yeah, that was my problem, it is related to a specific file type, but I was not sure, if it is a good idea to add it to the multi parser, but I will revisit it 🤔
…#3907) * add multiline secret support in Terraform * support jsonencode and heredoc and ignore data blocks * fix PR comments * create a dedicated single line parser class * add buildx step to build the image on self-hosted runners
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description
data
blockFixes #1660
Checklist: