Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gabe-sorensen/7a3e05bd9649bdb34521a92d8920b5d8 to your computer and use it in GitHub Desktop.
Save gabe-sorensen/7a3e05bd9649bdb34521a92d8920b5d8 to your computer and use it in GitHub Desktop.
Terraform helm provider error with grafana chart
kubernetes_namespace.metrics: Refreshing state... (ID: metrics)
kubernetes_namespace.logging: Refreshing state... (ID: logging)
helm_release.prometheus: Refreshing state... (ID: prometheus)
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ helm_release.grafana
id: <computed>
chart: "grafana"
disable_webhooks: "false"
force_update: "false"
keyring: "/Users/user/.gnupg/pubring.gpg"
metadata.#: <computed>
name: "grafana"
namespace: "logging"
recreate_pods: "false"
repository: "stable"
reuse: "false"
timeout: "300"
verify: "false"
version: "1.1.1"
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
helm_release.grafana: Creating...
chart: "" => "grafana"
disable_webhooks: "" => "false"
force_update: "" => "false"
keyring: "" => "/Users/user/.gnupg/pubring.gpg"
metadata.#: "" => "<computed>"
name: "" => "grafana"
namespace: "" => "logging"
recreate_pods: "" => "false"
repository: "" => "stable"
reuse: "" => "false"
timeout: "" => "300"
verify: "" => "false"
version: "" => "1.1.1"
Error: Error applying plan:
1 error(s) occurred:
* helm_release.grafana: 1 error(s) occurred:
* helm_release.grafana: rpc error: code = Unknown desc = error validating "": error validating data: [found invalid field periodSeconds for v1.HTTPGetAction, found invalid field timeoutSeconds for v1.HTTPGetAction, found invalid field failureThreshold for v1.HTTPGetAction, found invalid field initialDelaySeconds for v1.HTTPGetAction]
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment