provider/aws: EBS optimised to force new resource

EBS optimised can't be changed without re-creating the instance. Apply forcenew.
This commit is contained in:
Colin Hebert 2016-01-11 08:16:49 +01:00
parent 6d1d46c47c
commit 2948d3678d
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ func resourceAwsInstance() *schema.Resource {
"ebs_optimized": &schema.Schema{ "ebs_optimized": &schema.Schema{
Type: schema.TypeBool, Type: schema.TypeBool,
Optional: true, Optional: true,
ForceNew: true,
}, },
"disable_api_termination": &schema.Schema{ "disable_api_termination": &schema.Schema{