-
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
f-data-networkfirewall_firewall_policy #24748
f-data-networkfirewall_firewall_policy #24748
Conversation
Output from all acceptance tests:
|
Thank you for your contribution! 🚀 Please note that the Remove any changes to the |
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
5fd0431
to
21e5d13
Compare
21e5d13
to
f9e7e47
Compare
f9e7e47
to
f045aae
Compare
- Fix misc. formatting issues and clean up unneeded comments - Update acceptance tests to compare ARN from datasource and resource - Simplify debugging statements with `diag.Errorf()`
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.
Good first PR @ddericco. Requesting small changes.
internal/service/networkfirewall/firewall_policy_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source_test.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source_test.go
Outdated
Show resolved
Hide resolved
Co-authored-by: Glenn <31919569+GlennChia@users.noreply.github.com>
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.
Second round of reviews
internal/service/networkfirewall/firewall_policy_data_source.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source_test.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source_test.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source_test.go
Outdated
Show resolved
Hide resolved
internal/service/networkfirewall/firewall_policy_data_source_test.go
Outdated
Show resolved
Hide resolved
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.
Changes LGTM. Will need the output of the acceptance tests again since there were a number of changes @ddericco
@GlennChia Output from acceptance test after all changes:
|
… test function names.
…ed by blank lines' and 'MD047/single-trailing-newline Files should end with a single newline character'.
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=TestAccNetworkFirewallFirewallPolicyDataSource_' PKG=networkfirewall ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkfirewall/... -v -count 1 -parallel 2 -run=TestAccNetworkFirewallFirewallPolicyDataSource_ -timeout 180m
=== RUN TestAccNetworkFirewallFirewallPolicyDataSource_arn
=== PAUSE TestAccNetworkFirewallFirewallPolicyDataSource_arn
=== RUN TestAccNetworkFirewallFirewallPolicyDataSource_name
=== PAUSE TestAccNetworkFirewallFirewallPolicyDataSource_name
=== RUN TestAccNetworkFirewallFirewallPolicyDataSource_nameAndARN
=== PAUSE TestAccNetworkFirewallFirewallPolicyDataSource_nameAndARN
=== CONT TestAccNetworkFirewallFirewallPolicyDataSource_arn
=== CONT TestAccNetworkFirewallFirewallPolicyDataSource_nameAndARN
--- PASS: TestAccNetworkFirewallFirewallPolicyDataSource_nameAndARN (153.09s)
=== CONT TestAccNetworkFirewallFirewallPolicyDataSource_name
--- PASS: TestAccNetworkFirewallFirewallPolicyDataSource_arn (153.15s)
--- PASS: TestAccNetworkFirewallFirewallPolicyDataSource_name (142.01s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkfirewall 299.418s
@ddericco Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.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. 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
Relates #18026
TODO:
Output from acceptance testing: