From f97819f419b09592b5358945a5fb07bc3bd1e2e1 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Fri, 16 Mar 2018 08:28:52 +0000 Subject: [PATCH] resource/aws_api_gateway_client_certificate: Export date fields correctly --- aws/resource_aws_api_gateway_client_certificate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/resource_aws_api_gateway_client_certificate.go b/aws/resource_aws_api_gateway_client_certificate.go index 77bb7f60011..e5ab9738508 100644 --- a/aws/resource_aws_api_gateway_client_certificate.go +++ b/aws/resource_aws_api_gateway_client_certificate.go @@ -77,8 +77,8 @@ func resourceAwsApiGatewayClientCertificateRead(d *schema.ResourceData, meta int log.Printf("[DEBUG] Received API Gateway Client Certificate: %s", out) d.Set("description", out.Description) - d.Set("created_date", out.CreatedDate) - d.Set("expiration_date", out.ExpirationDate) + d.Set("created_date", out.CreatedDate.String()) + d.Set("expiration_date", out.ExpirationDate.String()) d.Set("pem_encoded_certificate", out.PemEncodedCertificate) return nil