Merge pull request #9815 from hashicorp/b-aws-api-gateway-domain-name

provider/aws: Fix TestAccAWSAPIGatewayDomainName_basic test
This commit is contained in:
Clint 2016-11-02 16:42:31 -05:00 committed by GitHub
commit 955d6e9d0a
1 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,9 @@ func resourceAwsApiGatewayDomainNameRead(d *schema.ResourceData, meta interface{
} }
d.Set("certificate_name", domainName.CertificateName) 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("cloudfront_domain_name", domainName.DistributionDomainName)
d.Set("domain_name", domainName.DomainName) d.Set("domain_name", domainName.DomainName)