From 15afea5ba510ce768f270044c62f52989975a99e Mon Sep 17 00:00:00 2001 From: Guillaume ROUCHON Date: Fri, 9 Aug 2024 14:33:39 +0200 Subject: [PATCH] azurerm_cdn_frontdoor_secret: fix invalid address to set --- internal/services/cdn/cdn_frontdoor_secret_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)