Allen Sanborn
d68876edcc
fix(ec2): ignore ports when revoking an all-traffic rule ( #6895 )
...
* fix(ec2): ignore ports when revoking an all-traffic rule
Revoking an "all traffic" (-1) rule compared ports literally. Terraform's
aws_security_group revokes AWS's default egress rule as -1 with FromPort=0
and ToPort=0, which never matched the stored rule (it has no ports), so
every new group kept allowing all egress and the next plan wanted to
remove it again. AWS ignores ports for -1.
Protocols are now compared after the same normalization the security-group
evaluation uses, so a revoke naming protocol 6 also matches a tcp rule, as
on AWS.
* test(ec2): name the all-traffic revoke test a service test
* test(ec2): move the all-traffic revoke tests into Ec2ServiceTest
Use Ec2ServiceTest's existing mockModeService() instead of a copied
mock-mode harness, as requested in review.
2026-10-29 00:32:59 -04:00
..
2026-10-14 14:06:51 -04:00
2026-10-15 18:02:19 -04:00
2026-10-19 09:00:35 -04:00
2026-10-12 21:19:15 -04:00
2026-10-28 22:08:18 -04:00
2026-10-27 23:17:05 -04:00
2026-09-11 17:55:48 -04:00
2026-10-24 08:22:31 -04:00
2026-10-18 00:30:48 -04:00
2026-10-28 09:03:55 -04:00
2026-10-24 22:46:08 -04:00
2026-10-28 07:08:52 -04:00
2026-10-25 09:09:12 -04:00
2026-10-26 06:50:32 -04:00
2026-09-12 11:31:20 -04:00
2026-10-12 21:38:57 -04:00
2026-10-18 14:50:09 -04:00
2026-10-26 12:05:47 -04:00
2026-09-06 23:54:37 -04:00
2026-09-24 08:20:17 -04:00
2026-10-12 11:28:04 -04:00
2026-10-27 23:28:52 -04:00
2026-10-28 07:12:47 -04:00
2026-08-17 00:00:49 -05:00
2026-10-26 10:02:04 -04:00
2026-10-19 21:32:47 -05:00
2026-09-17 13:53:35 -04:00
2026-10-27 10:26:26 -04:00
2026-10-26 21:52:20 -05:00
2026-10-21 00:29:11 -04:00
2026-10-26 17:27:41 -04:00
2026-08-30 14:44:08 -05:00
2026-10-26 07:31:28 -04:00
2026-10-28 07:20:05 -04:00
2026-09-04 12:16:18 -04:00
2026-08-30 14:44:12 -05:00
2026-10-20 11:43:26 -04:00
2026-08-30 15:15:49 -04:00
2026-09-07 21:49:39 -05:00
2026-09-05 20:19:56 -04:00
2026-05-15 22:55:11 -05:00
2026-09-11 22:30:02 -04:00
2026-09-07 18:31:48 -04:00
2026-09-24 15:08:34 -04:00
2026-10-17 08:07:21 -04:00
2026-08-28 17:55:30 -04:00
2026-10-23 06:51:19 -04:00
2026-10-27 10:05:55 -04:00
2026-10-29 00:32:59 -04:00
2026-10-29 00:06:36 -04:00
2026-10-28 00:30:44 -04:00
2026-09-01 10:00:34 -04:00
2026-10-26 07:54:43 -04:00
2026-06-25 19:16:51 -05:00
2026-10-27 10:36:05 -04:00
2026-10-27 23:55:13 -04:00
2026-10-25 09:30:22 -04:00
2026-10-26 21:51:57 -05:00
2026-10-28 21:59:40 -05:00
2026-10-27 17:34:34 -05:00
2026-10-23 07:00:08 -04:00
2026-08-21 00:09:04 -04:00
2026-10-25 13:38:39 -04:00
2026-10-25 08:33:22 -04:00
2026-10-19 16:45:15 -04:00
2026-10-29 00:07:50 -04:00
2026-09-10 16:34:41 -04:00
2026-10-28 23:49:07 -04:00
2026-09-07 22:54:52 -05:00
2026-10-26 18:58:11 -04:00
2026-10-27 10:24:57 -04:00
2026-09-22 16:16:34 -04:00
2026-10-25 21:19:18 -04:00
2026-09-04 09:14:52 -04:00
2026-10-26 23:26:25 -04:00
2026-10-28 22:35:14 -04:00
2026-10-28 23:00:50 -04:00
2026-07-10 20:43:42 -05:00
2026-09-15 22:27:31 -05:00
2026-10-26 06:45:35 -04:00
2026-10-03 22:04:03 -04:00
2026-07-06 21:02:04 -05:00
2026-10-24 19:49:40 -04:00
2026-10-01 09:11:06 -04:00
2026-09-04 09:45:29 -04:00
2026-08-27 09:23:52 -04:00
2026-09-12 08:59:21 -04:00
2026-10-28 20:09:22 -04:00
2026-10-25 07:31:36 -04:00
2026-09-26 01:08:45 -05:00
2026-05-13 01:34:19 -05:00
2026-10-25 21:26:20 -04:00
2026-10-15 16:49:23 -04:00
2026-10-26 09:29:56 -04:00
2026-10-28 23:49:07 -04:00
2026-10-28 21:05:15 -04:00
2026-10-28 22:41:04 -04:00
2026-10-13 07:50:42 -04:00
2026-10-26 12:05:47 -04:00
2026-09-30 06:10:27 -04:00
2026-10-24 18:45:19 -04:00
2026-10-24 20:56:32 -04:00
2026-10-19 22:45:48 -04:00
2026-08-01 15:28:54 -05:00
2026-10-27 10:12:51 -04:00
2026-08-15 12:48:27 -04:00
2026-10-19 18:16:10 -04:00
2026-09-20 17:56:43 -04:00
2026-10-14 07:47:29 -04:00
2026-10-26 09:30:08 -04:00
2026-09-08 19:40:01 -05:00
2026-10-26 14:22:00 -04:00
2026-10-20 08:38:21 -04:00
2026-10-28 21:55:19 -04:00
2026-10-26 19:16:56 -05:00
2026-10-28 16:57:56 -04:00
2026-10-27 00:00:36 -04:00
2026-09-10 16:34:41 -04:00
2026-09-10 16:34:41 -04:00
2026-09-10 16:34:41 -04:00
2026-10-27 17:34:34 -05:00
2026-10-25 21:15:35 -05:00
2026-10-16 14:01:24 -04:00
2026-09-21 14:11:16 -04:00
2026-10-20 07:27:05 -04:00
2026-05-21 18:20:09 -05:00
2026-10-04 18:19:43 -04:00
2026-09-01 14:47:33 -04:00
2026-09-17 09:16:20 -04:00
2026-10-07 23:47:52 -04:00