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

cli: support additional options for files #301

Open
pgavlin opened this issue May 13, 2024 · 1 comment
Open

cli: support additional options for files #301

pgavlin opened this issue May 13, 2024 · 1 comment
Labels
kind/enhancement Improvements or new features

Comments

@pgavlin
Copy link
Member

pgavlin commented May 13, 2024

Some tools require that files have particular extensions in order to work properly (e.g. tf -var-file=[path] behaves differently if its argument's extension is .json). We could support situations like this by e.g. allowing the entry in files to be a dict that takes additional options:

values:
  tfConfig:
    foo: bar
  files:
    TFVARS:
      pattern: tfvars-*.json
      content: { fn::toJSON: "${tfConfig}" }

We could also allow users to set permissions, etc.

@zbuchheit
Copy link

would be nice to be able to specify a location for the file to land. Maybe it was implied, but wanted to call it out as another desired functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants