You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform fails to validate the spot module due to the following error
│ Error: Unsupported block type
│
│ on .terraform/modules/ocean-aws-k8s/ocean.tf line 244, in resource "spotinst_ocean_aws""ocean":
│ 244: dynamic "attach_load_balancer" {
│
│ Blocks of type"attach_load_balancer" are not expected here.
╵
╷
│ Error: Unsupported block type
│
│ on .terraform/modules/ocean-aws-k8s/ocean.tf line 254, in resource "spotinst_ocean_aws""ocean":
│ 254: dynamic "detach_load_balancer" {
│
│ Blocks of type"detach_load_balancer" are not expected here.
What you expected to happen:
Terraform to successfully validate.
How to reproduce it (as minimally and precisely as possible):
run terraform validate a similar setup
What happened:
Terraform fails to validate the spot module due to the following error
What you expected to happen:
Terraform to successfully validate.
How to reproduce it (as minimally and precisely as possible):
run terraform validate a similar setup
Anything else we need to know:
Environment:
The text was updated successfully, but these errors were encountered: