Open RavinderReddyF5 opened 3 years ago
Comment by dkulchinsky
Wednesday Apr 15, 2020 at 02:47 GMT
plan checks diff between state and configuration (your tf files), if the node you just added in your terraform config already exist on the device you will get the above error and this is expected.
to reconcile the this, you should import the resource from the device to the terraform state (using terraform import
command)
Given a scenario where a
ltm_node
already exists callednode1
and I have a file that creates a new file as shown....The plan will show success and 1 node to add.
When I run the apply, I get a failure and partial resource creation.
Why does my plan not fail showing the resource already exists?