mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-29 11:02:26 +03:00
skip destroy for volume attachment
This commit is contained in:
@@ -28,5 +28,6 @@ resource "aws_volume_attachment" "ebs-volume-1-attachment" {
|
||||
device_name = var.INSTANCE_DEVICE_NAME
|
||||
volume_id = aws_ebs_volume.ebs-volume-1.id
|
||||
instance_id = aws_instance.example.id
|
||||
skip_destroy = true # skip destroy to avoid issues with terraform destroy
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user