Closed bijenkins closed 1 year ago
CDKTF is not within our scope to support. If you are facing issue creating VM using HCL then we can definitely help. If the issue is only while using CDKTF, which seems to be the case here as the conversion seems to fail, you need to contact Terraform/Hashicorp support
Nutanix Cluster Information
Terraform Version
terraform -v ──(Wed,Aug09)─┘ Terraform v1.5.4 on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
We are using the CDKTF version in the python language:
Install here: https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-install
Get Started:
We initialize cdktf, pull down the providers and convert to python:
main.py - after above command
this generates the output file for the cdktf:
cdktf.out/stacks/nutanix-issue/cdk.tf.json
Output
Expected Behavior
Disk list and Nic list are empty, yet it accepts the input, we have tried a few different things such as not putting it into an array but no luck, it only accepts this type of data structure into the python cdk.
Actual Behavior
Nic list and Disk List are empty.
Steps to Reproduce