From dc684f1eb1250fbc2694f12b3af1983e20201042 Mon Sep 17 00:00:00 2001 From: Jeremy Collins Date: Wed, 8 Jul 2020 11:59:09 -0400 Subject: [PATCH] Don't set validation options when creating a new acm --- src/main/java/gyro/aws/acm/AcmCertificateResource.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/gyro/aws/acm/AcmCertificateResource.java b/src/main/java/gyro/aws/acm/AcmCertificateResource.java index d9aba3f99..df26826ce 100644 --- a/src/main/java/gyro/aws/acm/AcmCertificateResource.java +++ b/src/main/java/gyro/aws/acm/AcmCertificateResource.java @@ -536,7 +536,6 @@ public void create(GyroUI ui, State state) { RequestCertificateResponse response = client.requestCertificate( r -> r.certificateAuthorityArn(getCertificateAuthority() != null ? getCertificateAuthority().getArn() : null) .domainName(getDomainName()) - .domainValidationOptions(getDomainValidationOption().stream().map(AcmDomainValidationOption::toDomainValidationOption).collect(Collectors.toList())) .idempotencyToken(UUID.randomUUID().toString().replaceAll("-","")) .options(getOptions().toCertificateOptions()) .subjectAlternativeNames(getSubjectAlternativeNames())