Merge pull request #9815 from hashicorp/b-aws-api-gateway-domain-name
provider/aws: Fix TestAccAWSAPIGatewayDomainName_basic test
This commit is contained in:
commit
955d6e9d0a
|
@ -105,7 +105,9 @@ func resourceAwsApiGatewayDomainNameRead(d *schema.ResourceData, meta interface{
|
|||
}
|
||||
|
||||
d.Set("certificate_name", domainName.CertificateName)
|
||||
d.Set("certificate_upload_date", domainName.CertificateUploadDate)
|
||||
if err := d.Set("certificate_upload_date", domainName.CertificateUploadDate.Format(time.RFC3339)); err != nil {
|
||||
log.Printf("[DEBUG] Error setting certificate_upload_date: %s", err)
|
||||
}
|
||||
d.Set("cloudfront_domain_name", domainName.DistributionDomainName)
|
||||
d.Set("domain_name", domainName.DomainName)
|
||||
|
||||
|
|
Loading…
Reference in New Issue