Closed gustavodrodriguez closed 2 months ago
Hi @gustavodrodriguez
The cloud-init (i.e. initialization
block) cannot be added to already provisioned VM, as its whole purpose is to initialize the VM at the first boot up.
Seems to be a duplicate of #1400
Closing as a duplicate
Describe the bug
This error appears when adding a cloud init device to an instance that did not have the resource provisioned.
Description: When running a terraform recipe to add a VM that did not have the cloudinit device, the error appears.
To Reproduce Steps to reproduce the behavior:
Please also provide a minimal Terraform configuration that reproduces the issue.
Expected behavior That the resource can be added without problem, as Terraform is proposing when validating the plan
Additional context
Error Message:
TF_LOG=DEBUG terraform apply
):Thanks for the help