diff --git a/builtin/providers/aws/resource_aws_ses_domain_identity.go b/builtin/providers/aws/resource_aws_ses_domain_identity.go index e7498f4f54..734030cc71 100644 --- a/builtin/providers/aws/resource_aws_ses_domain_identity.go +++ b/builtin/providers/aws/resource_aws_ses_domain_identity.go @@ -19,17 +19,16 @@ func resourceAwsSesDomainIdentity() *schema.Resource { }, Schema: map[string]*schema.Schema{ - "arn": &schema.Schema{ + "arn": { Type: schema.TypeString, - Optional: true, Computed: true, }, - "domain": &schema.Schema{ + "domain": { Type: schema.TypeString, Required: true, ForceNew: true, }, - "verification_token": &schema.Schema{ + "verification_token": { Type: schema.TypeString, Computed: true, }, diff --git a/builtin/providers/aws/resource_aws_ses_domain_identity_test.go b/builtin/providers/aws/resource_aws_ses_domain_identity_test.go index 5d25fc2319..a151c39cfc 100644 --- a/builtin/providers/aws/resource_aws_ses_domain_identity_test.go +++ b/builtin/providers/aws/resource_aws_ses_domain_identity_test.go @@ -23,7 +23,7 @@ func TestAccAwsSESDomainIdentity_basic(t *testing.T) { Providers: testAccProviders, CheckDestroy: testAccCheckAwsSESDomainIdentityDestroy, Steps: []resource.TestStep{ - resource.TestStep{ + { Config: fmt.Sprintf(testAccAwsSESDomainIdentityConfig, domain), Check: resource.ComposeTestCheckFunc( testAccCheckAwsSESDomainIdentityExists("aws_ses_domain_identity.test"),