Closed msvechla closed 8 months ago
@msvechla Thanks for bringing up the issue here, as of now it is the behavior of the API where-in we cannot have root_volume_size and bdm updated together, but if you need to remove the root_volume_size and add bdm block then you can achieve through 2 separate updates - 1 removing root_volume_size and the second to add bdm block. Closing this ticket as it is not terraform provider issue.
Terraform Version
v1.5.7
Affected Resource(s)
Terraform Configuration Files
abbreviated for readability:
Debug Output
Expected Behavior
We should not get an error about conflicting
rootVolumeSize
andblockDeviceMappings
whenrootVolumeSize
is not specified or set tonull
Actual Behavior
Steps to Reproduce
See config above. You can see in the trace log I added above, that
rootVolumeSize
is part of the body of the HTTP request with the valuenull
, which probably causes the spot api to evaluate it and throw the errorPotential root cause: https://github.com/spotinst/spotinst-sdk-go/issues/287
Community Note