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

Add YAML functions !include and !env #943

Draft
wants to merge 62 commits into
base: main
Choose a base branch
from
Draft

Add YAML functions !include and !env #943

wants to merge 62 commits into from

Conversation

aknysh
Copy link
Member

@aknysh aknysh commented Jan 16, 2025

what

  • Add YAML functions !include and !env

Copy link

mergify bot commented Jan 18, 2025

💥 This pull request now has conflicts. Could you fix it @aknysh? 🙏

@mergify mergify bot added the conflict This PR has conflicts label Jan 18, 2025
Copy link

mergify bot commented Jan 18, 2025

💥 This pull request now has conflicts. Could you fix it @aknysh? 🙏

@mergify mergify bot added the conflict This PR has conflicts label Jan 18, 2025
return getNodeValue(tag, f, q), nil
}

// Detect relative paths (relative to the manifest file) and convert to absolute paths
Copy link
Member

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.

Copy link
Member Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor New features that do not break anything needs-cloudposse Needs Cloud Posse assistance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants