Skip to content

Commit

Permalink
fix certificate pack import issue on required fields
Browse files Browse the repository at this point in the history
  • Loading branch information
miladibra10 committed Nov 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent d0fa327 commit 11c46f6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -115,6 +115,9 @@ func resourceCloudflareCertificatePackRead(ctx context.Context, d *schema.Resour

d.Set("type", certificatePack.Type)
d.Set("hosts", expandStringListToSet(certificatePack.Hosts))
d.Set("validation_method", certificatePack.ValidationMethod)
d.Set("validity_days", certificatePack.ValidityDays)
d.Set("certificate_authority", certificatePack.CertificateAuthority)

if !reflect.ValueOf(certificatePack.ValidationErrors).IsNil() {
errors := []map[string]interface{}{}

0 comments on commit 11c46f6

Please sign in to comment.