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

resource/networkfirewall_rule_group: check configuration changes in rules when determining update input #19430

Merged
merged 1 commit into from
May 19, 2021

Conversation

anGie44
Copy link
Contributor

@anGie44 anGie44 commented May 18, 2021

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" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #19414

Output from acceptance testing:

--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateRules (163.26s)

--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_rules (166.65s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_rulesSourceList (166.88s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_statelessRuleWithCustomAction (178.55s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_statefulRule (178.77s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_statelessRule (178.78s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_disappears (193.26s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateRulesSourceList (266.68s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateStatelessRule (312.36s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_statefulRule_header (312.82s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateStatefulRule (329.79s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_tags (339.96s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateMultipleStatefulRules (386.25s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_statefulRule_action (393.60s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_rulesSourceAndRuleVariables (405.81s)

@anGie44 anGie44 requested a review from a team as a code owner May 18, 2021 20:17
@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/networkfirewall Issues and PRs that pertain to the networkfirewall service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels May 18, 2021
@anGie44 anGie44 added the bug Addresses a defect in current functionality. label May 18, 2021
@anGie44 anGie44 force-pushed the b-networkfirewall-rule-group-rules branch from 3c5212e to 84dccc5 Compare May 18, 2021 21:51
@ewbankkit ewbankkit self-assigned this May 19, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM 🚀.

Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAwsNetworkFirewallRuleGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsNetworkFirewallRuleGroup_ -timeout 180m
=== RUN   TestAccAwsNetworkFirewallRuleGroup_basic_rulesSourceList
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_basic_rulesSourceList
=== RUN   TestAccAwsNetworkFirewallRuleGroup_basic_statefulRule
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_basic_statefulRule
=== RUN   TestAccAwsNetworkFirewallRuleGroup_basic_statelessRule
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_basic_statelessRule
=== RUN   TestAccAwsNetworkFirewallRuleGroup_basic_rules
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_basic_rules
=== RUN   TestAccAwsNetworkFirewallRuleGroup_statelessRuleWithCustomAction
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_statelessRuleWithCustomAction
=== RUN   TestAccAwsNetworkFirewallRuleGroup_updateRules
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_updateRules
=== RUN   TestAccAwsNetworkFirewallRuleGroup_updateRulesSourceList
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_updateRulesSourceList
=== RUN   TestAccAwsNetworkFirewallRuleGroup_rulesSourceAndRuleVariables
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_rulesSourceAndRuleVariables
=== RUN   TestAccAwsNetworkFirewallRuleGroup_updateStatefulRule
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_updateStatefulRule
=== RUN   TestAccAwsNetworkFirewallRuleGroup_updateMultipleStatefulRules
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_updateMultipleStatefulRules
=== RUN   TestAccAwsNetworkFirewallRuleGroup_statefulRule_action
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_statefulRule_action
=== RUN   TestAccAwsNetworkFirewallRuleGroup_statefulRule_header
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_statefulRule_header
=== RUN   TestAccAwsNetworkFirewallRuleGroup_updateStatelessRule
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_updateStatelessRule
=== RUN   TestAccAwsNetworkFirewallRuleGroup_tags
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_tags
=== RUN   TestAccAwsNetworkFirewallRuleGroup_disappears
=== PAUSE TestAccAwsNetworkFirewallRuleGroup_disappears
=== CONT  TestAccAwsNetworkFirewallRuleGroup_basic_rulesSourceList
=== CONT  TestAccAwsNetworkFirewallRuleGroup_updateStatefulRule
=== CONT  TestAccAwsNetworkFirewallRuleGroup_statefulRule_header
=== CONT  TestAccAwsNetworkFirewallRuleGroup_statefulRule_action
=== CONT  TestAccAwsNetworkFirewallRuleGroup_updateStatelessRule
=== CONT  TestAccAwsNetworkFirewallRuleGroup_basic_rules
=== CONT  TestAccAwsNetworkFirewallRuleGroup_basic_statefulRule
=== CONT  TestAccAwsNetworkFirewallRuleGroup_updateMultipleStatefulRules
=== CONT  TestAccAwsNetworkFirewallRuleGroup_updateRulesSourceList
=== CONT  TestAccAwsNetworkFirewallRuleGroup_statelessRuleWithCustomAction
=== CONT  TestAccAwsNetworkFirewallRuleGroup_rulesSourceAndRuleVariables
=== CONT  TestAccAwsNetworkFirewallRuleGroup_updateRules
=== CONT  TestAccAwsNetworkFirewallRuleGroup_basic_statelessRule
=== CONT  TestAccAwsNetworkFirewallRuleGroup_disappears
=== CONT  TestAccAwsNetworkFirewallRuleGroup_tags
--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_rulesSourceList (147.83s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_rules (148.18s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_disappears (151.46s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateStatefulRule (164.07s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_statelessRuleWithCustomAction (168.88s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_statefulRule (169.17s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_basic_statelessRule (169.49s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_statefulRule_header (172.77s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateRulesSourceList (175.44s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateRules (175.62s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_tags (193.65s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateStatelessRule (196.56s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_updateMultipleStatefulRules (198.88s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_rulesSourceAndRuleVariables (207.17s)
--- PASS: TestAccAwsNetworkFirewallRuleGroup_statefulRule_action (209.45s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	212.792s

@anGie44 anGie44 modified the milestones: v3.41.0, v3.42.0 May 19, 2021
@anGie44 anGie44 merged commit 5776545 into main May 19, 2021
@anGie44 anGie44 deleted the b-networkfirewall-rule-group-rules branch May 19, 2021 14:33
github-actions bot pushed a commit that referenced this pull request May 19, 2021
@ghost
Copy link

ghost commented May 20, 2021

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

@github-actions
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/networkfirewall Issues and PRs that pertain to the networkfirewall service. size/S 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.

aws_networkfirewall_rule_group: cannot update suricata rules
2 participants