-
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
tests/resource/aws_acm_certificate: Migrate to SDK TypeSet function #16217
tests/resource/aws_acm_certificate: Migrate to SDK TypeSet function #16217
Conversation
LGTM 🚀 Thanks @mattburgess for the contribution! Verified Acceptance Tests in Commercial (us-west-2) make testacc TESTARGS='-run=TestAccAWSAcmCertificate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAcmCertificate -timeout 120m
=== RUN TestAccAWSAcmCertificateDataSource_singleIssued
=== PAUSE TestAccAWSAcmCertificateDataSource_singleIssued
=== RUN TestAccAWSAcmCertificateDataSource_multipleIssued
=== PAUSE TestAccAWSAcmCertificateDataSource_multipleIssued
=== RUN TestAccAWSAcmCertificateDataSource_noMatchReturnsError
=== PAUSE TestAccAWSAcmCertificateDataSource_noMatchReturnsError
=== RUN TestAccAWSAcmCertificateDataSource_KeyTypes
=== PAUSE TestAccAWSAcmCertificateDataSource_KeyTypes
=== RUN TestAccAWSAcmCertificate_emailValidation
=== PAUSE TestAccAWSAcmCertificate_emailValidation
=== RUN TestAccAWSAcmCertificate_dnsValidation
=== PAUSE TestAccAWSAcmCertificate_dnsValidation
=== RUN TestAccAWSAcmCertificate_root
=== PAUSE TestAccAWSAcmCertificate_root
=== RUN TestAccAWSAcmCertificate_privateCert
=== PAUSE TestAccAWSAcmCertificate_privateCert
=== RUN TestAccAWSAcmCertificate_root_TrailingPeriod
=== PAUSE TestAccAWSAcmCertificate_root_TrailingPeriod
=== RUN TestAccAWSAcmCertificate_rootAndWildcardSan
=== PAUSE TestAccAWSAcmCertificate_rootAndWildcardSan
=== RUN TestAccAWSAcmCertificate_SubjectAlternativeNames_EmptyString
=== PAUSE TestAccAWSAcmCertificate_SubjectAlternativeNames_EmptyString
=== RUN TestAccAWSAcmCertificate_san_single
=== PAUSE TestAccAWSAcmCertificate_san_single
=== RUN TestAccAWSAcmCertificate_san_multiple
=== PAUSE TestAccAWSAcmCertificate_san_multiple
=== RUN TestAccAWSAcmCertificate_san_TrailingPeriod
=== PAUSE TestAccAWSAcmCertificate_san_TrailingPeriod
=== RUN TestAccAWSAcmCertificate_wildcard
=== PAUSE TestAccAWSAcmCertificate_wildcard
=== RUN TestAccAWSAcmCertificate_wildcardAndRootSan
=== PAUSE TestAccAWSAcmCertificate_wildcardAndRootSan
=== RUN TestAccAWSAcmCertificate_disableCTLogging
=== PAUSE TestAccAWSAcmCertificate_disableCTLogging
=== RUN TestAccAWSAcmCertificate_tags
=== PAUSE TestAccAWSAcmCertificate_tags
=== RUN TestAccAWSAcmCertificate_imported_DomainName
=== PAUSE TestAccAWSAcmCertificate_imported_DomainName
=== RUN TestAccAWSAcmCertificate_imported_IpAddress
=== PAUSE TestAccAWSAcmCertificate_imported_IpAddress
=== RUN TestAccAWSAcmCertificate_PrivateKey_Tags
=== PAUSE TestAccAWSAcmCertificate_PrivateKey_Tags
=== RUN TestAccAWSAcmCertificateValidation_basic
=== PAUSE TestAccAWSAcmCertificateValidation_basic
=== RUN TestAccAWSAcmCertificateValidation_timeout
=== PAUSE TestAccAWSAcmCertificateValidation_timeout
=== RUN TestAccAWSAcmCertificateValidation_validationRecordFqdns
=== PAUSE TestAccAWSAcmCertificateValidation_validationRecordFqdns
=== RUN TestAccAWSAcmCertificateValidation_validationRecordFqdnsEmail
=== PAUSE TestAccAWSAcmCertificateValidation_validationRecordFqdnsEmail
=== RUN TestAccAWSAcmCertificateValidation_validationRecordFqdnsRoot
=== PAUSE TestAccAWSAcmCertificateValidation_validationRecordFqdnsRoot
=== RUN TestAccAWSAcmCertificateValidation_validationRecordFqdnsRootAndWildcard
=== PAUSE TestAccAWSAcmCertificateValidation_validationRecordFqdnsRootAndWildcard
=== RUN TestAccAWSAcmCertificateValidation_validationRecordFqdnsSan
=== PAUSE TestAccAWSAcmCertificateValidation_validationRecordFqdnsSan
=== RUN TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcard
=== PAUSE TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcard
=== RUN TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcardAndRoot
=== PAUSE TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcardAndRoot
=== CONT TestAccAWSAcmCertificateDataSource_singleIssued
=== CONT TestAccAWSAcmCertificate_disableCTLogging
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcardAndRoot
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsRoot
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdns
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcard
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsSan
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsRootAndWildcard
=== CONT TestAccAWSAcmCertificateValidation_timeout
=== CONT TestAccAWSAcmCertificateValidation_basic
=== CONT TestAccAWSAcmCertificate_PrivateKey_Tags
=== CONT TestAccAWSAcmCertificate_imported_IpAddress
=== CONT TestAccAWSAcmCertificate_imported_DomainName
=== CONT TestAccAWSAcmCertificate_tags
=== CONT TestAccAWSAcmCertificate_root_TrailingPeriod
=== CONT TestAccAWSAcmCertificate_wildcardAndRootSan
=== CONT TestAccAWSAcmCertificate_wildcard
=== CONT TestAccAWSAcmCertificate_san_TrailingPeriod
=== CONT TestAccAWSAcmCertificate_san_multiple
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsEmail
2020/11/27 08:20:49 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
--- PASS: TestAccAWSAcmCertificate_root_TrailingPeriod (3.13s)
=== CONT TestAccAWSAcmCertificate_san_single
=== CONT TestAccAWSAcmCertificateDataSource_singleIssued
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsRootAndWildcard
=== CONT TestAccAWSAcmCertificateValidation_basic
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsSan
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcardAndRoot
=== CONT TestAccAWSAcmCertificate_SubjectAlternativeNames_EmptyString
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsRoot
=== CONT TestAccAWSAcmCertificate_rootAndWildcardSan
=== CONT TestAccAWSAcmCertificate_emailValidation
=== CONT TestAccAWSAcmCertificate_privateCert
=== CONT TestAccAWSAcmCertificate_root
=== CONT TestAccAWSAcmCertificate_dnsValidation
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdnsWildcard
resource_aws_acm_certificate_validation_test.go:164: Step 1/1 error: Error running pre-apply refresh: 2020/11/27 08:20:48 [DEBUG] Using modified
2020/11/27 08:20:51 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
=== CONT TestAccAWSAcmCertificateDataSource_noMatchReturnsError
--- PASS: TestAccAWSAcmCertificate_SubjectAlternativeNames_EmptyString (1.81s)
=== CONT TestAccAWSAcmCertificateDataSource_KeyTypes
2020/11/27 08:20:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity
=== CONT TestAccAWSAcmCertificateValidation_validationRecordFqdns
2020/11/27 08:21:02 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
--- PASS: TestAccAWSAcmCertificateDataSource_noMatchReturnsError (11.35s)
=== CONT TestAccAWSAcmCertificateDataSource_multipleIssued
2020/11/27 08:21:02 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSAcmCertificateValidation_validationRecordFqdnsEmail (17.86s)
=== CONT TestAccAWSAcmCertificateDataSource_multipleIssued
data_source_aws_acm_certificate_test.go:110: Step 1/6, expected an error with pattern, no match on: Error running pre-apply refresh: 2020/11/27 08:21:03 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.10.0
2020/11/27 08:21:05 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSAcmCertificate_imported_IpAddress (20.60s)
--- PASS: TestAccAWSAcmCertificateValidation_timeout (20.92s)
2020/11/27 08:21:08 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2020/11/27 08:21:08 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2020/11/27 08:21:08 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSAcmCertificate_disableCTLogging (22.72s)
--- PASS: TestAccAWSAcmCertificateDataSource_KeyTypes (17.77s)
--- PASS: TestAccAWSAcmCertificate_wildcardAndRootSan (23.64s)
--- PASS: TestAccAWSAcmCertificate_san_TrailingPeriod (23.80s)
--- PASS: TestAccAWSAcmCertificate_san_single (20.68s)
--- PASS: TestAccAWSAcmCertificate_dnsValidation (20.60s)
--- PASS: TestAccAWSAcmCertificate_rootAndWildcardSan (20.76s)
--- PASS: TestAccAWSAcmCertificate_san_multiple (25.58s)
--- PASS: TestAccAWSAcmCertificate_root (21.01s)
--- PASS: TestAccAWSAcmCertificate_emailValidation (22.42s)
--- PASS: TestAccAWSAcmCertificate_privateCert (22.52s)
--- PASS: TestAccAWSAcmCertificate_wildcard (28.10s)
--- PASS: TestAccAWSAcmCertificate_PrivateKey_Tags (31.23s)
--- PASS: TestAccAWSAcmCertificate_imported_DomainName (43.69s)
--- PASS: TestAccAWSAcmCertificate_tags (65.29s) |
This has been released in version 3.19.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 for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Relates #15882
Release note for CHANGELOG:
Output from acceptance testing: