generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Describe the Bug
The module works fine with the v2 helm provider but with the upgrade to the v3 provider the module no longer works.
Error: Unsupported block type
│
│ on .terraform/modules/helm_release/main.tf line 111, in resource "helm_release" "this":
│ 111: dynamic "set" {
│
│ Blocks of type "set" are not expected here.
╵
╷
│ Error: Unsupported block type
│
│ on .terraform/modules/helm_release/main.tf line 120, in resource "helm_release" "this":
│ 120: dynamic "set_sensitive" {
│
│ Blocks of type "set_sensitive" are not expected here.
╵
╷
│ Error: Unsupported block type
│
│ on .terraform/modules/helm_release/main.tf line 129, in resource "helm_release" "this":
│ 129: dynamic "set" {
│
│ Blocks of type "set" are not expected here.
╵
╷
│ Error: Unsupported block type
│
│ on .terraform/modules/helm_release/main.tf line 138, in resource "helm_release" "this":
│ 138: dynamic "postrender" {
│
│ Blocks of type "postrender" are not expected here.
Between v2 and v3 these were changed to be lists of nested objects rather than blocks. https://registry.terraform.io/providers/hashicorp/helm/latest/docs/guides/v3-upgrade-guide
Expected Behavior
Should use lists of nested objects rather than dynamic blocks.
Steps to Reproduce
Upgrade hashicorp/helm provided from any v2 version to any v3 version and execute a previously working set of IaC and watch it fail.
Screenshots
No response
Environment
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system