carvel-dev / terraform-provider-carvel

Carvel Terraform provider with resources for ytt and kapp to template and deploy to Kubernetes
Apache License 2.0
42 stars 9 forks source link

Include commands executed in debug logging #13

Closed braunsonm closed 2 years ago

braunsonm commented 3 years ago

Describe the problem/challenge you have Sometimes debugging ytt/kapp issues can be difficult. When a templating issue is occurring I would like to iterate quickly, trying different things to solve the problem. Currently I would have to make up a ytt command (which can be very complicated in situations with lots of values), or run tf apply over and over again which is slow and requires a state lock.

Describe the solution you'd like I would like the existing debug_logs flag in the ytt data source to output the executed ytt command that it constructs so I have something to easily work off of.

Anything else you would like to add: This would output secrets to the log potentially so the documentation should be updated to reflect that warning.

github-actions[bot] commented 3 years ago

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

braunsonm commented 3 years ago

bump

github-actions[bot] commented 3 years ago

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

braunsonm commented 3 years ago

Still relevant.

cppforlife commented 2 years ago

is this still of interest?