Hi, I am attempting to execute the following command but get an error.
terraform state mv aws_ebs_volume.ebs "aws_instance.bastion.ebs_block_device"
Acquiring state lock. This may take a few moments... ╷ │ Error: Invalid address │ │ on line 1: │ (source code not available) │ │ Unexpected extra operators after address.
We initially created and aws_ebs_volume resource and attached it to an EC2 instance using aws_volume_attachment. But now we want to turn on the delete on termination flag. Seems we had to do it by using the ebs_block_device block. Seemed simple enough until I encountered the error from executing the above command. Does anyone have any ideas?