Skip to content
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 cert transparency logging #9413

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

mattburgess
Copy link
Collaborator

@mattburgess mattburgess commented Jul 18, 2019

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Fixes #6789

Release note for CHANGELOG:

resource/aws_acm_certificate: Support `options` configuration block `certificate_transparency_logging_preference` argument [GH-6789]

Output from acceptance testing:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAcmCertificate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -parallel 20 -run=TestAccAWSAcmCertificate -timeout 120m
...
--- PASS: TestAccAWSAcmCertificateDataSource_noMatchReturnsError (21.76s)
--- PASS: TestAccAWSAcmCertificateValidation_timeout (31.86s)
--- PASS: TestAccAWSAcmCertificate_imported_IpAddress (32.80s)
--- PASS: TestAccAWSAcmCertificate_root_TrailingPeriod (36.65s)
--- PASS: TestAccAWSAcmCertificate_wildcard (36.98s)
--- PASS: TestAccAWSAcmCertificate_root (37.06s)
--- PASS: TestAccAWSAcmCertificate_dnsValidation (38.94s)
--- PASS: TestAccAWSAcmCertificate_disableCTLogging (34.14s)
--- PASS: TestAccAWSAcmCertificateDataSource_KeyTypes (36.32s)
--- PASS: TestAccAWSAcmCertificate_emailValidation (36.92s)
--- PASS: TestAccAWSAcmCertificate_wildcardAndRootSan (48.05s)
--- PASS: TestAccAWSAcmCertificate_imported_DomainName (56.33s)
--- PASS: TestAccAWSAcmCertificate_tags (97.05s)
...

Note that the other acceptance tests fail, but that looks to be because of the DNS config in my test account

@mattburgess mattburgess requested a review from a team July 18, 2019 21:32
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/acm Issues and PRs that pertain to the acm service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. documentation Introduces or discusses updates to documentation. labels Jul 18, 2019
@mattburgess mattburgess force-pushed the acm-cert-transparency-logging branch from f637d2b to 5d3fc19 Compare July 20, 2019 23:59
@mattburgess
Copy link
Collaborator Author

@nywilken are you able to review/approve this please (simply based on you having closed #5696 in favour of #6789 which this PR attempts to address).

This is required in order to support private cert requests (see #5550 / #6666 / #9288) with the appropriate level of security.

@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 5, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, @mattburgess, thanks 🚀

--- PASS: TestAccAWSAcmCertificate_imported_IpAddress (9.71s)
--- PASS: TestAccAWSAcmCertificate_wildcard (12.76s)
--- PASS: TestAccAWSAcmCertificate_disableCTLogging (13.31s)
--- PASS: TestAccAWSAcmCertificate_imported_DomainName (14.67s)
--- PASS: TestAccAWSAcmCertificate_root_TrailingPeriod (15.26s)
--- PASS: TestAccAWSAcmCertificate_dnsValidation (15.30s)
--- PASS: TestAccAWSAcmCertificate_rootAndWildcardSan (16.45s)
--- PASS: TestAccAWSAcmCertificate_root (16.50s)
--- PASS: TestAccAWSAcmCertificate_emailValidation (17.11s)
--- PASS: TestAccAWSAcmCertificate_wildcardAndRootSan (17.73s)
--- PASS: TestAccAWSAcmCertificate_san_TrailingPeriod (17.81s)
--- PASS: TestAccAWSAcmCertificate_san_multiple (21.79s)
--- PASS: TestAccAWSAcmCertificate_san_single (22.78s)
--- PASS: TestAccAWSAcmCertificate_tags (33.14s)

@bflad bflad added this to the v2.23.0 milestone Aug 5, 2019
@bflad bflad merged commit 5d3fc19 into hashicorp:master Aug 5, 2019
bflad added a commit that referenced this pull request Aug 5, 2019
@ghost
Copy link

ghost commented Aug 7, 2019

This has been released in version 2.23.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!

@ghost
Copy link

ghost commented Nov 2, 2019

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!

@ghost ghost locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/acm Issues and PRs that pertain to the acm service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support passing options to acm certificate requests
2 participants