-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
fix: Fix check_certificate_revocation_status block being ignored due to autoflex issue for aws_networkfirewall_tls_inspection_configuration #39211
fix: Fix check_certificate_revocation_status block being ignored due to autoflex issue for aws_networkfirewall_tls_inspection_configuration #39211
Conversation
Community NoteVoting for Prioritization
For Submitters
|
6541d21
to
a9825a5
Compare
…to autoflex issue for aws_networkfirewall_tls_inspection_configuration
a9825a5
to
ee199a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccNetworkFirewallTLSInspectionConfiguration_' PKG=networkfirewall ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/networkfirewall/... -v -count 1 -parallel 3 -run=TestAccNetworkFirewallTLSInspectionConfiguration_ -timeout 360m
=== RUN TestAccNetworkFirewallTLSInspectionConfiguration_basic
=== PAUSE TestAccNetworkFirewallTLSInspectionConfiguration_basic
=== RUN TestAccNetworkFirewallTLSInspectionConfiguration_disappears
=== PAUSE TestAccNetworkFirewallTLSInspectionConfiguration_disappears
=== RUN TestAccNetworkFirewallTLSInspectionConfiguration_tags
=== PAUSE TestAccNetworkFirewallTLSInspectionConfiguration_tags
=== RUN TestAccNetworkFirewallTLSInspectionConfiguration_encryptionConfiguration
=== PAUSE TestAccNetworkFirewallTLSInspectionConfiguration_encryptionConfiguration
=== RUN TestAccNetworkFirewallTLSInspectionConfiguration_checkCertificateRevocationStatus
=== PAUSE TestAccNetworkFirewallTLSInspectionConfiguration_checkCertificateRevocationStatus
=== CONT TestAccNetworkFirewallTLSInspectionConfiguration_basic
=== CONT TestAccNetworkFirewallTLSInspectionConfiguration_encryptionConfiguration
=== CONT TestAccNetworkFirewallTLSInspectionConfiguration_tags
--- PASS: TestAccNetworkFirewallTLSInspectionConfiguration_basic (176.10s)
=== CONT TestAccNetworkFirewallTLSInspectionConfiguration_disappears
--- PASS: TestAccNetworkFirewallTLSInspectionConfiguration_tags (178.23s)
=== CONT TestAccNetworkFirewallTLSInspectionConfiguration_checkCertificateRevocationStatus
--- PASS: TestAccNetworkFirewallTLSInspectionConfiguration_encryptionConfiguration (178.79s)
--- PASS: TestAccNetworkFirewallTLSInspectionConfiguration_disappears (175.00s)
--- PASS: TestAccNetworkFirewallTLSInspectionConfiguration_checkCertificateRevocationStatus (198.36s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkfirewall 381.644s
@acwwat Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.67.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. |
Description
This PR is to fix an issue with the
aws_networkfirewall_tls_inspection_configuration
resource where thecheck_certificate_revovation_status
block is ignored by resource creation because of a typo in the model field name (extra 's' in the name) that caused autoflex to skip it. As a result, the certificate revocation status settings are not applied.The test case
TestAccNetworkFirewallTLSInspectionConfiguration_checkCertificateRevocationStatus
is also passing so that gives a false positive. After fixing the autoflex issue, the test case fails because the TF configuration is also incorrect. This issue is also fixed with the PR.Relations
Closes #38690
References
Referred to CreateTLSInspectionConfiguration for specs.
Output from Acceptance Testing