rancher / terraform-provider-rancher2

Terraform Rancher2 provider
https://www.terraform.io/docs/providers/rancher2/
Mozilla Public License 2.0
253 stars 218 forks source link

[RFE] rancher2_app_v2 resource should detect helm chart errors during terraform plan run #1211

Open lots0logs opened 10 months ago

lots0logs commented 10 months ago

Is your feature request related to a problem? Please describe.

It's frustrating when errors in the helm chart belonging to rancher2_app_v2 resources are not detected during terraform plan and only show up when helm upgrade fails during terraform apply.

Describe the solution you'd like

I think the provider should run helm upgrade with the --dry-run argument during the plan run so it can detect any errors and make the plan fail accordingly.

Describe alternatives you've considered

I've considered never making errors in my helm charts but obviously that's not realistic :wink: