spotinst / terraform-spotinst-ocean-aws-k8s

A Terraform module to create an Ocean Cluster.
Apache License 2.0
4 stars 5 forks source link

Blocks of type "block_device_mappings" are not expected here #17

Closed Pzharyuk closed 9 months ago

Pzharyuk commented 1 year ago

What happened:

╷
│ Error: Unsupported block type
│ 
│   on .terraform/modules/ocean-aws-k8s/ocean.tf line 168, in resource "spotinst_ocean_aws" "ocean":
│  168:   dynamic "block_device_mappings" {
│ 
│ Blocks of type "block_device_mappings" are not expected here.

I do see this change made in history:

image

What you expected to happen:

Plan needs to execute without errors

How to reproduce it (as minimally and precisely as possible): Make sure to run "terraform init" in a clean environment with the latest version of spotinst-ocean-aws-k8s module

chandra1-n commented 9 months ago

@Pzharyuk Thanks for identifying the issue, we have made the fix on block_device_mappings recently and released, please try this with latest version of the module. Closing this issue.