From 2948d3678dcb71856c48ac22c5d5b4d1199611f9 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Mon, 11 Jan 2016 08:16:49 +0100 Subject: [PATCH] provider/aws: EBS optimised to force new resource EBS optimised can't be changed without re-creating the instance. Apply forcenew. --- builtin/providers/aws/resource_aws_instance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/aws/resource_aws_instance.go b/builtin/providers/aws/resource_aws_instance.go index 198a23c5b..2f68ac33f 100644 --- a/builtin/providers/aws/resource_aws_instance.go +++ b/builtin/providers/aws/resource_aws_instance.go @@ -140,6 +140,7 @@ func resourceAwsInstance() *schema.Resource { "ebs_optimized": &schema.Schema{ Type: schema.TypeBool, Optional: true, + ForceNew: true, }, "disable_api_termination": &schema.Schema{