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

r/aws_ec2_traffic_mirror_filter_rule: Fix crash when updating rule_number #32594

Merged
merged 5 commits into from
Jul 19, 2023

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Jul 19, 2023

Description

Corrects attribute name in resource Update.

Relations

Closes #32588.

Output from Acceptance Testing

% make testacc TESTARGS='-run=TestAccVPCTrafficMirrorFilterRule_' PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20  -run=TestAccVPCTrafficMirrorFilterRule_ -timeout 180m
=== RUN   TestAccVPCTrafficMirrorFilterRule_basic
=== PAUSE TestAccVPCTrafficMirrorFilterRule_basic
=== RUN   TestAccVPCTrafficMirrorFilterRule_disappears
=== PAUSE TestAccVPCTrafficMirrorFilterRule_disappears
=== CONT  TestAccVPCTrafficMirrorFilterRule_basic
=== CONT  TestAccVPCTrafficMirrorFilterRule_disappears
--- PASS: TestAccVPCTrafficMirrorFilterRule_disappears (25.94s)
--- PASS: TestAccVPCTrafficMirrorFilterRule_basic (82.22s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	88.093s
% make sweep SWEEPARGS=-sweep-run=aws_ec2_traffic_mirror_filter,aws_ec2_traffic_mirror_target
# make sweep SWEEPARGS=-sweep-run=aws_example_thing
# set SWEEPARGS=-sweep-allow-failures to continue after first failure
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -tags=sweep -sweep=us-west-2,us-east-1,us-east-2,us-west-1 -sweep-run=aws_ec2_traffic_mirror_filter,aws_ec2_traffic_mirror_target -timeout 60m
2023/07/19 12:28:07 [DEBUG] Running Sweepers for region (us-west-2):
2023/07/19 12:28:07 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-2)
2023/07/19 12:28:08 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-2) in 911.736807ms
2023/07/19 12:28:08 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:08 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-2)
2023/07/19 12:28:08 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-2)
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0b999014cdcc6d848
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0f58c3b7adb4de779
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0756e495d82a14e5a
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-009a7a1c414109caa
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-080154ec5923f132b
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-04f1032edd6835232
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-00fd64fc2c6dce78e
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-092ef1373e7e285bb
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0e445ae22506dba40
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0009dd2c9b07f5b3f
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-036f81d37cfc658bf
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0725c527171d54068
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0a013230b5e38f371
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0f6053e46d2d19010
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-05524a327fdaa3b82
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0250f7339f1c6cace
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0125bdc5af6a45cab
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0525666da33284fa6
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0ac56acda32d92e0b
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-020a9c9e7024c4de6
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0a1a77aba970ce783
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0396c558ad885b69e
2023/07/19 12:28:08 [DEBUG] Deleting EC2 Traffic Mirror Filter: tmf-0cde0060b386a93e4
2023/07/19 12:28:16 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-2) in 8.442671711s
2023/07/19 12:28:16 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:16 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-2)
2023/07/19 12:28:16 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-2)
2023/07/19 12:28:16 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:16 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:16 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:16 [DEBUG] Deleting EC2 Traffic Mirror Target: tmt-0861c424dc502e0bb
2023/07/19 12:28:16 [DEBUG] Deleting EC2 Traffic Mirror Target: tmt-0cff234fb7daa1da7
2023/07/19 12:28:16 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:16 [DEBUG] Deleting EC2 Traffic Mirror Target: tmt-07d1f9f956cf74403
2023/07/19 12:28:16 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:16 [DEBUG] Deleting EC2 Traffic Mirror Target: tmt-00a6e61a0bf9a2130
2023/07/19 12:28:16 [DEBUG] Deleting EC2 Traffic Mirror Target: tmt-0d32c0f0100fff593
2023/07/19 12:28:16 [DEBUG] Waiting for state to become: [success]
2023/07/19 12:28:16 [DEBUG] Deleting EC2 Traffic Mirror Target: tmt-05fb67507527eb46f
2023/07/19 12:28:17 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-2) in 606.009592ms
2023/07/19 12:28:17 Completed Sweepers for region (us-west-2) in 9.960781126s
2023/07/19 12:28:17 Sweeper Tests for region (us-west-2) ran successfully:
	- aws_ec2_traffic_mirror_session
	- aws_ec2_traffic_mirror_filter
	- aws_ec2_traffic_mirror_target
2023/07/19 12:28:17 [DEBUG] Running Sweepers for region (us-east-1):
2023/07/19 12:28:17 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:17 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-1)
2023/07/19 12:28:17 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-1) in 585.025807ms
2023/07/19 12:28:17 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-1)
2023/07/19 12:28:17 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-1) in 92.160978ms
2023/07/19 12:28:17 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:17 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-1)
2023/07/19 12:28:17 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-1)
2023/07/19 12:28:18 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-1) in 106.939617ms
2023/07/19 12:28:18 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-1)
2023/07/19 12:28:18 Completed Sweepers for region (us-east-1) in 784.349856ms
2023/07/19 12:28:18 Sweeper Tests for region (us-east-1) ran successfully:
	- aws_ec2_traffic_mirror_filter
	- aws_ec2_traffic_mirror_target
	- aws_ec2_traffic_mirror_session
2023/07/19 12:28:18 [DEBUG] Running Sweepers for region (us-east-2):
2023/07/19 12:28:18 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-2)
2023/07/19 12:28:18 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-2) in 467.717366ms
2023/07/19 12:28:18 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:18 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-2)
2023/07/19 12:28:18 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-2)
2023/07/19 12:28:18 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-2) in 87.201674ms
2023/07/19 12:28:18 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:18 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-2)
2023/07/19 12:28:18 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-2)
2023/07/19 12:28:18 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-2) in 85.354695ms
2023/07/19 12:28:18 Completed Sweepers for region (us-east-2) in 640.533045ms
2023/07/19 12:28:18 Sweeper Tests for region (us-east-2) ran successfully:
	- aws_ec2_traffic_mirror_session
	- aws_ec2_traffic_mirror_filter
	- aws_ec2_traffic_mirror_target
2023/07/19 12:28:18 [DEBUG] Running Sweepers for region (us-west-1):
2023/07/19 12:28:18 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-1)
2023/07/19 12:28:19 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-1) in 967.102507ms
2023/07/19 12:28:19 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:19 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-1)
2023/07/19 12:28:19 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-1)
2023/07/19 12:28:19 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-1) in 135.635665ms
2023/07/19 12:28:19 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 12:28:19 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-1)
2023/07/19 12:28:19 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-1)
2023/07/19 12:28:19 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-1) in 144.246192ms
2023/07/19 12:28:19 Completed Sweepers for region (us-west-1) in 1.24727955s
2023/07/19 12:28:19 Sweeper Tests for region (us-west-1) ran successfully:
	- aws_ec2_traffic_mirror_session
	- aws_ec2_traffic_mirror_filter
	- aws_ec2_traffic_mirror_target
ok  	github.com/hashicorp/terraform-provider-aws/internal/sweep	18.235s

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. sweeper Pertains to changes to or issues with the sweeper. service/vpc Issues and PRs that pertain to the vpc service. and removed size/L Managed by automation to categorize the size of a PR. labels Jul 19, 2023
@github-actions github-actions bot added the size/L Managed by automation to categorize the size of a PR. label Jul 19, 2023
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. labels Jul 19, 2023
Copy link
Contributor

@johnsonaj johnsonaj left a 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=TestAccVPCTrafficMirrorFilterRule_' PKG=ec2

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20  -run=TestAccVPCTrafficMirrorFilterRule_ -timeout 180m
--- PASS: TestAccVPCTrafficMirrorFilterRule_disappears (17.48s)
--- PASS: TestAccVPCTrafficMirrorFilterRule_basic (57.30s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	60.619s
$ make sweep SWEEPARGS=-sweep-run=aws_ec2_traffic_mirror_filter,aws_ec2_traffic_mirror_target

# make sweep SWEEPARGS=-sweep-run=aws_example_thing
# set SWEEPARGS=-sweep-allow-failures to continue after first failure
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -tags=sweep -sweep=us-west-2,us-east-1,us-east-2,us-west-1 -sweep-run=aws_ec2_traffic_mirror_filter,aws_ec2_traffic_mirror_target -timeout 60m
2023/07/19 11:55:28 [DEBUG] Running Sweepers for region (us-west-2):
2023/07/19 11:55:28 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:28 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-2)
2023/07/19 11:55:28 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-2) in 749.436375ms
2023/07/19 11:55:28 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-2)
2023/07/19 11:55:28 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-2) in 129.701042ms
2023/07/19 11:55:28 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-2)
2023/07/19 11:55:28 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:28 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-2)
2023/07/19 11:55:28 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-2)
2023/07/19 11:55:29 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-2) in 128.374542ms
2023/07/19 11:55:29 Completed Sweepers for region (us-west-2) in 1.007884333s
2023/07/19 11:55:29 Sweeper Tests for region (us-west-2) ran successfully:
	- aws_ec2_traffic_mirror_target
	- aws_ec2_traffic_mirror_session
	- aws_ec2_traffic_mirror_filter
2023/07/19 11:55:29 [DEBUG] Running Sweepers for region (us-east-1):
2023/07/19 11:55:29 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:29 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-1)
2023/07/19 11:55:29 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-1) in 760.916375ms
2023/07/19 11:55:29 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-1)
2023/07/19 11:55:29 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-1) in 117.751042ms
2023/07/19 11:55:29 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-1)
2023/07/19 11:55:29 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:29 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-1)
2023/07/19 11:55:29 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-1)
2023/07/19 11:55:30 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-1) in 118.69725ms
2023/07/19 11:55:30 Completed Sweepers for region (us-east-1) in 997.618667ms
2023/07/19 11:55:30 Sweeper Tests for region (us-east-1) ran successfully:
	- aws_ec2_traffic_mirror_session
	- aws_ec2_traffic_mirror_filter
	- aws_ec2_traffic_mirror_target
2023/07/19 11:55:30 [DEBUG] Running Sweepers for region (us-east-2):
2023/07/19 11:55:30 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:30 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-2)
2023/07/19 11:55:30 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-east-2) in 589.645917ms
2023/07/19 11:55:30 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-2)
2023/07/19 11:55:30 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-east-2) in 94.913834ms
2023/07/19 11:55:30 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-2)
2023/07/19 11:55:30 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:30 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-east-2)
2023/07/19 11:55:30 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-2)
2023/07/19 11:55:30 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-east-2) in 96.2395ms
2023/07/19 11:55:30 Completed Sweepers for region (us-east-2) in 781.011375ms
2023/07/19 11:55:30 Sweeper Tests for region (us-east-2) ran successfully:
	- aws_ec2_traffic_mirror_session
	- aws_ec2_traffic_mirror_filter
	- aws_ec2_traffic_mirror_target
2023/07/19 11:55:30 [DEBUG] Running Sweepers for region (us-west-1):
2023/07/19 11:55:30 [DEBUG] Sweeper (aws_ec2_traffic_mirror_filter) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:30 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-1)
2023/07/19 11:55:31 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_session) in region (us-west-1) in 742.058959ms
2023/07/19 11:55:31 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-1)
2023/07/19 11:55:31 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_filter) in region (us-west-1) in 131.744416ms
2023/07/19 11:55:31 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-1)
2023/07/19 11:55:31 [DEBUG] Sweeper (aws_ec2_traffic_mirror_target) has dependency (aws_ec2_traffic_mirror_session), running..
2023/07/19 11:55:31 [DEBUG] Sweeper (aws_ec2_traffic_mirror_session) already ran in region (us-west-1)
2023/07/19 11:55:31 [DEBUG] Running Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-1)
2023/07/19 11:55:31 [DEBUG] Completed Sweeper (aws_ec2_traffic_mirror_target) in region (us-west-1) in 108.94525ms
2023/07/19 11:55:31 Completed Sweepers for region (us-west-1) in 982.929542ms
2023/07/19 11:55:31 Sweeper Tests for region (us-west-1) ran successfully:
	- aws_ec2_traffic_mirror_session
	- aws_ec2_traffic_mirror_filter
	- aws_ec2_traffic_mirror_target
ok  	github.com/hashicorp/terraform-provider-aws/internal/sweep	7.033s

@ewbankkit ewbankkit merged commit 36a8ecb into main Jul 19, 2023
58 checks passed
@ewbankkit ewbankkit deleted the b-aws_ec2_traffic_mirror_filter_rule-panic branch July 19, 2023 17:08
@github-actions github-actions bot added this to the v5.9.0 milestone Jul 19, 2023
github-actions bot pushed a commit that referenced this pull request Jul 19, 2023
@github-actions
Copy link

This functionality has been released in v5.9.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!

@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 Aug 21, 2023
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. crash Results from or addresses a Terraform crash or kernel panic. service/vpc Issues and PRs that pertain to the vpc service. size/L Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. 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.

[Bug]: Error: Plugin did not respond -> panic: interface conversion: interface {} is string, not int
2 participants