Skip to content

Commit

Permalink
add deprecated message for removed attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Winkler authored and Scott Winkler committed Apr 17, 2018
1 parent 30bdfdb commit 61220e9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions aws/resource_aws_acm_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,21 @@ func resourceAwsAcmCertificate() *schema.Resource {
Required: true,
ForceNew: true,
},
"resource_record_name": {
Type: schema.TypeString,
Computed: true,
Deprecated: "Use `certificate_details[0].resource_record_name` instead",
},
"resource_record_type": {
Type: schema.TypeString,
Computed: true,
Deprecated: "Use `certificate_details[0].resource_record_type` instead",
},
"resource_record_value": {
Type: schema.TypeString,
Computed: true,
Deprecated: "Use `certificate_details[0].resource_record_value` instead",
},
},
},
},
Expand Down Expand Up @@ -99,6 +114,12 @@ func resourceAwsAcmCertificate() *schema.Resource {
},
},
"tags": tagsSchema(),
"validation_emails": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
Deprecated: "Use `certificate_details[0].validation_emails` instead",
},
},
}
}
Expand Down

0 comments on commit 61220e9

Please sign in to comment.