-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACM certificate: Additional attributes #26784
Conversation
…dler signatures (#15090).
…t support error-wrapping directive %w'.
…un=TestAccACMCertificate_' PKG=acm ACCTEST_PARALLELISM=1 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/acm/... -v -count 1 -parallel 1 -run=TestAccACMCertificate_ -timeout 180m === RUN TestAccACMCertificate_emailValidation === PAUSE TestAccACMCertificate_emailValidation === RUN TestAccACMCertificate_dnsValidation === PAUSE TestAccACMCertificate_dnsValidation === RUN TestAccACMCertificate_root === PAUSE TestAccACMCertificate_root === RUN TestAccACMCertificate_validationOptions === PAUSE TestAccACMCertificate_validationOptions === RUN TestAccACMCertificate_privateCert === PAUSE TestAccACMCertificate_privateCert === RUN TestAccACMCertificate_Root_trailingPeriod === PAUSE TestAccACMCertificate_Root_trailingPeriod === RUN TestAccACMCertificate_rootAndWildcardSan === PAUSE TestAccACMCertificate_rootAndWildcardSan === RUN TestAccACMCertificate_SubjectAlternativeNames_emptyString === PAUSE TestAccACMCertificate_SubjectAlternativeNames_emptyString === RUN TestAccACMCertificate_San_single === PAUSE TestAccACMCertificate_San_single === RUN TestAccACMCertificate_San_multiple === PAUSE TestAccACMCertificate_San_multiple === RUN TestAccACMCertificate_San_trailingPeriod === PAUSE TestAccACMCertificate_San_trailingPeriod === RUN TestAccACMCertificate_San_matches_domain === PAUSE TestAccACMCertificate_San_matches_domain === RUN TestAccACMCertificate_wildcard === PAUSE TestAccACMCertificate_wildcard === RUN TestAccACMCertificate_wildcardAndRootSan === PAUSE TestAccACMCertificate_wildcardAndRootSan === RUN TestAccACMCertificate_disableCTLogging === PAUSE TestAccACMCertificate_disableCTLogging === RUN TestAccACMCertificate_Imported_domainName === PAUSE TestAccACMCertificate_Imported_domainName === RUN TestAccACMCertificate_Imported_validityDates === PAUSE TestAccACMCertificate_Imported_validityDates === RUN TestAccACMCertificate_Imported_ipAddress === PAUSE TestAccACMCertificate_Imported_ipAddress === RUN TestAccACMCertificate_PrivateKey_tags === PAUSE TestAccACMCertificate_PrivateKey_tags === CONT TestAccACMCertificate_emailValidation --- PASS: TestAccACMCertificate_emailValidation (28.62s) === CONT TestAccACMCertificate_San_trailingPeriod --- PASS: TestAccACMCertificate_San_trailingPeriod (25.70s) === CONT TestAccACMCertificate_PrivateKey_tags --- PASS: TestAccACMCertificate_PrivateKey_tags (52.14s) === CONT TestAccACMCertificate_Imported_ipAddress --- PASS: TestAccACMCertificate_Imported_ipAddress (17.16s) === CONT TestAccACMCertificate_Imported_validityDates --- PASS: TestAccACMCertificate_Imported_validityDates (21.23s) === CONT TestAccACMCertificate_Imported_domainName --- PASS: TestAccACMCertificate_Imported_domainName (41.05s) === CONT TestAccACMCertificate_disableCTLogging --- PASS: TestAccACMCertificate_disableCTLogging (24.55s) === CONT TestAccACMCertificate_wildcardAndRootSan --- PASS: TestAccACMCertificate_wildcardAndRootSan (22.70s) === CONT TestAccACMCertificate_wildcard --- PASS: TestAccACMCertificate_wildcard (22.48s) === CONT TestAccACMCertificate_San_matches_domain --- PASS: TestAccACMCertificate_San_matches_domain (31.43s) === CONT TestAccACMCertificate_Root_trailingPeriod --- PASS: TestAccACMCertificate_Root_trailingPeriod (1.08s) === CONT TestAccACMCertificate_San_multiple --- PASS: TestAccACMCertificate_San_multiple (29.76s) === CONT TestAccACMCertificate_San_single --- PASS: TestAccACMCertificate_San_single (27.45s) === CONT TestAccACMCertificate_SubjectAlternativeNames_emptyString --- PASS: TestAccACMCertificate_SubjectAlternativeNames_emptyString (1.03s) === CONT TestAccACMCertificate_rootAndWildcardSan --- PASS: TestAccACMCertificate_rootAndWildcardSan (23.83s) === CONT TestAccACMCertificate_validationOptions --- PASS: TestAccACMCertificate_validationOptions (25.89s) === CONT TestAccACMCertificate_privateCert --- PASS: TestAccACMCertificate_privateCert (23.22s) === CONT TestAccACMCertificate_root --- PASS: TestAccACMCertificate_root (24.48s) === CONT TestAccACMCertificate_dnsValidation --- PASS: TestAccACMCertificate_dnsValidation (26.30s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 474.217s % ACM_CERTIFICATE_ROOT_DOMAIN=ewbankkit.com make testacc TESTARGS='-run=TestAccACMCertificateValidation_' PKG=acm ACCTEST_PARALLELISM=1 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/acm/... -v -count 1 -parallel 1 -run=TestAccACMCertificateValidation_ -timeout 180m === RUN TestAccACMCertificateValidation_basic === PAUSE TestAccACMCertificateValidation_basic === RUN TestAccACMCertificateValidation_timeout === PAUSE TestAccACMCertificateValidation_timeout === RUN TestAccACMCertificateValidation_validationRecordFQDNS === PAUSE TestAccACMCertificateValidation_validationRecordFQDNS === RUN TestAccACMCertificateValidation_validationRecordFQDNSEmail === PAUSE TestAccACMCertificateValidation_validationRecordFQDNSEmail === RUN TestAccACMCertificateValidation_validationRecordFQDNSRoot === PAUSE TestAccACMCertificateValidation_validationRecordFQDNSRoot === RUN TestAccACMCertificateValidation_validationRecordFQDNSRootAndWildcard === PAUSE TestAccACMCertificateValidation_validationRecordFQDNSRootAndWildcard === RUN TestAccACMCertificateValidation_validationRecordFQDNSSan === PAUSE TestAccACMCertificateValidation_validationRecordFQDNSSan === RUN TestAccACMCertificateValidation_validationRecordFQDNSWildcard === PAUSE TestAccACMCertificateValidation_validationRecordFQDNSWildcard === RUN TestAccACMCertificateValidation_validationRecordFQDNSWildcardAndRoot === PAUSE TestAccACMCertificateValidation_validationRecordFQDNSWildcardAndRoot === CONT TestAccACMCertificateValidation_basic --- PASS: TestAccACMCertificateValidation_basic (109.86s) === CONT TestAccACMCertificateValidation_validationRecordFQDNSRootAndWildcard --- PASS: TestAccACMCertificateValidation_validationRecordFQDNSRootAndWildcard (106.91s) === CONT TestAccACMCertificateValidation_validationRecordFQDNSWildcardAndRoot --- PASS: TestAccACMCertificateValidation_validationRecordFQDNSWildcardAndRoot (93.59s) === CONT TestAccACMCertificateValidation_validationRecordFQDNSWildcard --- PASS: TestAccACMCertificateValidation_validationRecordFQDNSWildcard (101.64s) === CONT TestAccACMCertificateValidation_validationRecordFQDNSSan --- PASS: TestAccACMCertificateValidation_validationRecordFQDNSSan (116.42s) === CONT TestAccACMCertificateValidation_validationRecordFQDNSEmail --- PASS: TestAccACMCertificateValidation_validationRecordFQDNSEmail (17.50s) === CONT TestAccACMCertificateValidation_validationRecordFQDNSRoot --- PASS: TestAccACMCertificateValidation_validationRecordFQDNSRoot (200.50s) === CONT TestAccACMCertificateValidation_validationRecordFQDNS --- PASS: TestAccACMCertificateValidation_validationRecordFQDNS (102.31s) === CONT TestAccACMCertificateValidation_timeout --- PASS: TestAccACMCertificateValidation_timeout (19.66s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 872.367s
Acceptance test output: % ACM_CERTIFICATE_ROOT_DOMAIN=ewbankkit.com make testacc TESTARGS='-run=TestAccACMCertificate_Imported_validityDates\|TestAccACMCertificate_privateCert\|TestAccACMCertificate_emailValidation\|TestAccACMCertificate_dnsValidation' PKG=acm ACCTEST_PARALLELISM=1 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/acm/... -v -count 1 -parallel 1 -run=TestAccACMCertificate_Imported_validityDates\|TestAccACMCertificate_privateCert\|TestAccACMCertificate_emailValidation\|TestAccACMCertificate_dnsValidation -timeout 180m === RUN TestAccACMCertificate_emailValidation === PAUSE TestAccACMCertificate_emailValidation === RUN TestAccACMCertificate_dnsValidation === PAUSE TestAccACMCertificate_dnsValidation === RUN TestAccACMCertificate_privateCert === PAUSE TestAccACMCertificate_privateCert === RUN TestAccACMCertificate_Imported_validityDates === PAUSE TestAccACMCertificate_Imported_validityDates === CONT TestAccACMCertificate_emailValidation --- PASS: TestAccACMCertificate_emailValidation (48.62s) === CONT TestAccACMCertificate_privateCert --- PASS: TestAccACMCertificate_privateCert (25.11s) === CONT TestAccACMCertificate_Imported_validityDates --- PASS: TestAccACMCertificate_Imported_validityDates (17.22s) === CONT TestAccACMCertificate_dnsValidation --- PASS: TestAccACMCertificate_dnsValidation (23.12s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 118.083s
Acceptance test output: % ACM_CERTIFICATE_ROOT_DOMAIN=ewbankkit.com make testacc TESTARGS='-run=TestAccACMCertificate_Imported_validityDates\|TestAccACMCertificate_privateCert' PKG=acm ACCTEST_PARALLELISM=1 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/acm/... -v -count 1 -parallel 1 -run=TestAccACMCertificate_Imported_validityDates\|TestAccACMCertificate_privateCert -timeout 180m === RUN TestAccACMCertificate_privateCert === PAUSE TestAccACMCertificate_privateCert === RUN TestAccACMCertificate_Imported_validityDates === PAUSE TestAccACMCertificate_Imported_validityDates === CONT TestAccACMCertificate_privateCert --- PASS: TestAccACMCertificate_privateCert (25.00s) === CONT TestAccACMCertificate_Imported_validityDates --- PASS: TestAccACMCertificate_Imported_validityDates (17.67s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 47.285s
Acceptance test output: % ACM_CERTIFICATE_ROOT_DOMAIN=ewbankkit.com make testacc TESTARGS='-run=TestAccACMCertificate_Imported_validityDates\|TestAccACMCertificate_privateCert' PKG=acm ACCTEST_PARALLELISM=1 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/acm/... -v -count 1 -parallel 1 -run=TestAccACMCertificate_Imported_validityDates\|TestAccACMCertificate_privateCert -timeout 180m === RUN TestAccACMCertificate_privateCert === PAUSE TestAccACMCertificate_privateCert === RUN TestAccACMCertificate_Imported_validityDates === PAUSE TestAccACMCertificate_Imported_validityDates === CONT TestAccACMCertificate_privateCert --- PASS: TestAccACMCertificate_privateCert (25.11s) === CONT TestAccACMCertificate_Imported_validityDates --- PASS: TestAccACMCertificate_Imported_validityDates (16.91s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 46.751s
…tificate and export the certificate to make in eligible for renewal
…enew a certificate
9bd33a8
to
9e1cd1f
Compare
…Works around rule in ACM Certificate documentation
LGTM 🚀. % ACM_CERTIFICATE_ROOT_DOMAIN=ewbankkit.com make testacc TESTARGS='-run=TestAccACMCertificate_' PKG=acm ACCTEST_PARALLELISM=1
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/acm/... -v -count 1 -parallel 1 -run=TestAccACMCertificate_ -timeout 180m
=== RUN TestAccACMCertificate_emailValidation
=== PAUSE TestAccACMCertificate_emailValidation
=== RUN TestAccACMCertificate_dnsValidation
=== PAUSE TestAccACMCertificate_dnsValidation
=== RUN TestAccACMCertificate_root
=== PAUSE TestAccACMCertificate_root
=== RUN TestAccACMCertificate_validationOptions
=== PAUSE TestAccACMCertificate_validationOptions
=== RUN TestAccACMCertificate_privateCertificate_renewable
=== PAUSE TestAccACMCertificate_privateCertificate_renewable
=== RUN TestAccACMCertificate_privateCertificate_noRenewalPermission
=== PAUSE TestAccACMCertificate_privateCertificate_noRenewalPermission
=== RUN TestAccACMCertificate_privateCertificate_pendingRenewal
=== PAUSE TestAccACMCertificate_privateCertificate_pendingRenewal
=== RUN TestAccACMCertificate_privateCertificate_addEarlyRenewalPast
=== PAUSE TestAccACMCertificate_privateCertificate_addEarlyRenewalPast
=== RUN TestAccACMCertificate_privateCertificate_addEarlyRenewalPastIneligible
=== PAUSE TestAccACMCertificate_privateCertificate_addEarlyRenewalPastIneligible
=== RUN TestAccACMCertificate_privateCertificate_addEarlyRenewalFuture
=== PAUSE TestAccACMCertificate_privateCertificate_addEarlyRenewalFuture
=== RUN TestAccACMCertificate_privateCertificate_updateEarlyRenewalFuture
=== PAUSE TestAccACMCertificate_privateCertificate_updateEarlyRenewalFuture
=== RUN TestAccACMCertificate_privateCertificate_removeEarlyRenewal
=== PAUSE TestAccACMCertificate_privateCertificate_removeEarlyRenewal
=== RUN TestAccACMCertificate_Root_trailingPeriod
=== PAUSE TestAccACMCertificate_Root_trailingPeriod
=== RUN TestAccACMCertificate_rootAndWildcardSan
=== PAUSE TestAccACMCertificate_rootAndWildcardSan
=== RUN TestAccACMCertificate_SubjectAlternativeNames_emptyString
=== PAUSE TestAccACMCertificate_SubjectAlternativeNames_emptyString
=== RUN TestAccACMCertificate_San_single
=== PAUSE TestAccACMCertificate_San_single
=== RUN TestAccACMCertificate_San_multiple
=== PAUSE TestAccACMCertificate_San_multiple
=== RUN TestAccACMCertificate_San_trailingPeriod
=== PAUSE TestAccACMCertificate_San_trailingPeriod
=== RUN TestAccACMCertificate_San_matches_domain
=== PAUSE TestAccACMCertificate_San_matches_domain
=== RUN TestAccACMCertificate_wildcard
=== PAUSE TestAccACMCertificate_wildcard
=== RUN TestAccACMCertificate_wildcardAndRootSan
=== PAUSE TestAccACMCertificate_wildcardAndRootSan
=== RUN TestAccACMCertificate_disableCTLogging
=== PAUSE TestAccACMCertificate_disableCTLogging
=== RUN TestAccACMCertificate_Imported_domainName
=== PAUSE TestAccACMCertificate_Imported_domainName
=== RUN TestAccACMCertificate_Imported_validityDates
=== PAUSE TestAccACMCertificate_Imported_validityDates
=== RUN TestAccACMCertificate_Imported_ipAddress
=== PAUSE TestAccACMCertificate_Imported_ipAddress
=== RUN TestAccACMCertificate_PrivateKey_tags
=== PAUSE TestAccACMCertificate_PrivateKey_tags
=== CONT TestAccACMCertificate_emailValidation
--- PASS: TestAccACMCertificate_emailValidation (34.04s)
=== CONT TestAccACMCertificate_rootAndWildcardSan
--- PASS: TestAccACMCertificate_rootAndWildcardSan (23.29s)
=== CONT TestAccACMCertificate_PrivateKey_tags
--- PASS: TestAccACMCertificate_PrivateKey_tags (53.87s)
=== CONT TestAccACMCertificate_Imported_ipAddress
--- PASS: TestAccACMCertificate_Imported_ipAddress (17.48s)
=== CONT TestAccACMCertificate_Imported_validityDates
--- PASS: TestAccACMCertificate_Imported_validityDates (18.68s)
=== CONT TestAccACMCertificate_Imported_domainName
--- PASS: TestAccACMCertificate_Imported_domainName (42.31s)
=== CONT TestAccACMCertificate_disableCTLogging
--- PASS: TestAccACMCertificate_disableCTLogging (23.52s)
=== CONT TestAccACMCertificate_wildcardAndRootSan
--- PASS: TestAccACMCertificate_wildcardAndRootSan (25.70s)
=== CONT TestAccACMCertificate_wildcard
--- PASS: TestAccACMCertificate_wildcard (24.50s)
=== CONT TestAccACMCertificate_San_matches_domain
--- PASS: TestAccACMCertificate_San_matches_domain (26.48s)
=== CONT TestAccACMCertificate_San_trailingPeriod
--- PASS: TestAccACMCertificate_San_trailingPeriod (28.14s)
=== CONT TestAccACMCertificate_San_multiple
--- PASS: TestAccACMCertificate_San_multiple (28.42s)
=== CONT TestAccACMCertificate_San_single
--- PASS: TestAccACMCertificate_San_single (28.18s)
=== CONT TestAccACMCertificate_SubjectAlternativeNames_emptyString
--- PASS: TestAccACMCertificate_SubjectAlternativeNames_emptyString (0.86s)
=== CONT TestAccACMCertificate_privateCertificate_addEarlyRenewalPast
--- PASS: TestAccACMCertificate_privateCertificate_addEarlyRenewalPast (96.89s)
=== CONT TestAccACMCertificate_Root_trailingPeriod
--- PASS: TestAccACMCertificate_Root_trailingPeriod (0.87s)
=== CONT TestAccACMCertificate_privateCertificate_removeEarlyRenewal
--- PASS: TestAccACMCertificate_privateCertificate_removeEarlyRenewal (58.58s)
=== CONT TestAccACMCertificate_privateCertificate_updateEarlyRenewalFuture
--- PASS: TestAccACMCertificate_privateCertificate_updateEarlyRenewalFuture (57.13s)
=== CONT TestAccACMCertificate_privateCertificate_addEarlyRenewalFuture
--- PASS: TestAccACMCertificate_privateCertificate_addEarlyRenewalFuture (70.20s)
=== CONT TestAccACMCertificate_privateCertificate_addEarlyRenewalPastIneligible
--- PASS: TestAccACMCertificate_privateCertificate_addEarlyRenewalPastIneligible (55.40s)
=== CONT TestAccACMCertificate_privateCertificate_renewable
--- PASS: TestAccACMCertificate_privateCertificate_renewable (114.53s)
=== CONT TestAccACMCertificate_privateCertificate_pendingRenewal
--- PASS: TestAccACMCertificate_privateCertificate_pendingRenewal (93.03s)
=== CONT TestAccACMCertificate_privateCertificate_noRenewalPermission
--- PASS: TestAccACMCertificate_privateCertificate_noRenewalPermission (167.71s)
=== CONT TestAccACMCertificate_root
--- PASS: TestAccACMCertificate_root (24.83s)
=== CONT TestAccACMCertificate_validationOptions
--- PASS: TestAccACMCertificate_validationOptions (26.26s)
=== CONT TestAccACMCertificate_dnsValidation
--- PASS: TestAccACMCertificate_dnsValidation (27.15s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 1172.435s |
This functionality has been released in v4.33.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Adds argument to the
aws_acm_certificate
resource:early_renewal_duration
Adds attributes to the
aws_acm_certificate
resource:pending_renewal
renewal_eligibility
renewal_summary
type