diff --git a/aws/resource_aws_globalaccelerator_accelerator.go b/aws/resource_aws_globalaccelerator_accelerator.go index 38123633c4a..c95d4a80084 100644 --- a/aws/resource_aws_globalaccelerator_accelerator.go +++ b/aws/resource_aws_globalaccelerator_accelerator.go @@ -62,7 +62,6 @@ func resourceAwsGlobalAcceleratorAccelerator() *schema.Resource { "attributes": { Type: schema.TypeList, Optional: true, - Computed: true, MaxItems: 1, DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool { if old == "1" && new == "0" { diff --git a/aws/resource_aws_globalaccelerator_accelerator_test.go b/aws/resource_aws_globalaccelerator_accelerator_test.go index bba57088446..d7c0591e2a3 100644 --- a/aws/resource_aws_globalaccelerator_accelerator_test.go +++ b/aws/resource_aws_globalaccelerator_accelerator_test.go @@ -61,7 +61,7 @@ func TestAccAwsGlobalAcceleratorAccelerator_update(t *testing.T) { Config: testAccGlobalAcceleratorAccelerator_basic(rName, true), Check: resource.ComposeTestCheckFunc( testAccCheckGlobalAcceleratorAcceleratorExists(resourceName), - resource.TestCheckResourceAttr(resourceName, "name", newName), + resource.TestCheckResourceAttr(resourceName, "name", rName), resource.TestCheckResourceAttr(resourceName, "enabled", "true"), ), },