diff --git a/internal/services/cdn/cdn_frontdoor_secret_resource.go b/internal/services/cdn/cdn_frontdoor_secret_resource.go index fdb759e4c6dd..4e750efc6eb2 100644 --- a/internal/services/cdn/cdn_frontdoor_secret_resource.go +++ b/internal/services/cdn/cdn_frontdoor_secret_resource.go @@ -344,7 +344,7 @@ func flattenSecretParametersDataSource(ctx context.Context, input cdn.BasicSecre fields["subject_alternative_names"] = make([]string, 0) } - result["expiration_date"] = pointer.From(customerCertificate.ExpirationDate) + fields["expiration_date"] = pointer.From(customerCertificate.ExpirationDate) result["customer_certificate"] = []interface{}{fields} results = append(results, result)