Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Idempotence for helm-release destroy #100

Merged
merged 3 commits into from
Aug 24, 2018

Conversation

natarajaya
Copy link
Contributor

Terraform will always fail during Helm provider configuration (which happens during :destroy as well) if certificate files not present on disk (already removed during previous :destroy) with:

Error: module.gpii-flowmanager.provider.helm: file: open /project/live/dev/secrets/kube-system/helm-tls/ca.cert.pem: no such file or directory in:

${file("${var.client_auth}/ca.cert.pem")}

And there is no way to evaluate if local file is present on disk in Terraform: hashicorp/terraform#10878.

@ilyasotkov
Copy link
Collaborator

Nice!

@ilyasotkov ilyasotkov merged commit 36af205 into exekube:master Aug 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants