-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add YAML functions !include
and !env
#943
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # go.mod
💥 This pull request now has conflicts. Could you fix it @aknysh? 🙏 |
💥 This pull request now has conflicts. Could you fix it @aknysh? 🙏 |
# Conflicts: # cmd/terraform.go
return getNodeValue(tag, f, q), nil | ||
} | ||
|
||
// Detect relative paths (relative to the manifest file) and convert to absolute paths |
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.
We should move this to a reusable function. @milldr has a different implementation. Also I believe the determination differs by OS. Please see what Dan did.
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.
it calls the function that Dan added
resolved := ResolveRelativePath(f, file)
what
!include
and!env