Skip to content

Commit 9a614b1

Browse files
author
iru
authored
chore: remove deprecated sqs:*batch actions (#121)
* chore: remove deprecated actions * ci: lint + bump
1 parent 2b30a86 commit 9a614b1

File tree

24 files changed

+28
-33
lines changed

24 files changed

+28
-33
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ For a cleaner PR make sure you follow these recommendations:
1111
1212
## Checklist
1313
14-
- [ ] If `test/fixtures/*/main.tf` files are modified. I have updated:
14+
- [ ] If `test/fixtures/*/main.tf` files are modified. I have updated:
1515
- [ ] the snippets in the README.md file under root folder.
16-
- [ ] the snippets in the README.md file for the corresponding example.
16+
- [ ] the snippets in the README.md file for the corresponding example.
1717
- [ ] If `examples` folder are modified. I have updated:
1818
- [ ] README.md file with pertinent changes.
1919
- [ ] `test/fixtures/*/main.tf` in case the snippet needs modifications.
20-
- [ ] If any architectural change has been made, I have updated the diagrams.
21-
22-
-->
20+
- [ ] If any architectural change has been made, I have updated the diagrams.
2321
22+
-->

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ A: We don’t scan images from the management account ECR because is not a best
275275
]
276276
}
277277
```
278-
- Trust Relationships:
278+
- Trust Relationships:
279279
```json
280280
{
281281
"Version": "2012-10-17",

examples/organizational/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ $ terraform apply
145145

146146
| Name | Version |
147147
|------|---------|
148-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
149-
| <a name="provider_aws.member"></a> [aws.member](#provider\_aws.member) | 4.22.0 |
148+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
149+
| <a name="provider_aws.member"></a> [aws.member](#provider\_aws.member) | 4.23.0 |
150150
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.39 |
151151

152152
## Modules

examples/single-account-k8s/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ $ terraform apply
8484

8585
| Name | Version |
8686
|------|---------|
87-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
87+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
8888
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.6.0 |
8989
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.39 |
9090

examples/trigger-events/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $ terraform apply
4949

5050
| Name | Version |
5151
|------|---------|
52-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
52+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
5353

5454
## Modules
5555

modules/infrastructure/cloudtrail/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
| Name | Version |
1414
|------|---------|
15-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
15+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1616

1717
## Modules
1818

modules/infrastructure/cloudtrail_s3-sns-sqs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ EVENT FILTER/fine-tunning, regarding what we want to send to Sysdig Cloud-Connec
4646

4747
| Name | Version |
4848
|------|---------|
49-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
49+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
5050

5151
## Modules
5252

modules/infrastructure/codebuild/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
| Name | Version |
1414
|------|---------|
15-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
15+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1616

1717
## Modules
1818

modules/infrastructure/ecs-vpc/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
| Name | Version |
1515
|------|---------|
16-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
16+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1717

1818
## Modules
1919

modules/infrastructure/permissions/cloud-connector/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
| Name | Version |
1414
|------|---------|
15-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
15+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1616

1717
## Modules
1818

modules/infrastructure/permissions/cloud-connector/main.tf

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ data "aws_iam_policy_document" "cloud_connector" {
2525
effect = "Allow"
2626
actions = [
2727
"sqs:ReceiveMessage",
28-
"sqs:DeleteMessage",
29-
"sqs:DeleteMessageBatch"
28+
"sqs:DeleteMessage"
3029
]
3130
resources = [var.cloudtrail_subscribed_sqs_arn]
3231
}

modules/infrastructure/permissions/cloud-scanning/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
| Name | Version |
1414
|------|---------|
15-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
15+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1616

1717
## Modules
1818

modules/infrastructure/permissions/cloud-scanning/main.tf

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ data "aws_iam_policy_document" "cloud_scanner" {
1111
effect = "Allow"
1212
actions = [
1313
"sqs:ReceiveMessage",
14-
"sqs:DeleteMessage",
15-
"sqs:DeleteMessageBatch"
14+
"sqs:DeleteMessage"
1615
]
1716
resources = [var.cloudtrail_subscribed_sqs_arn]
1817
}

modules/infrastructure/permissions/general/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ General permissions that apply to both cloud-connector and cloud-scanning module
1515

1616
| Name | Version |
1717
|------|---------|
18-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
18+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1919

2020
## Modules
2121

modules/infrastructure/permissions/iam-user/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Note: Contact us if this authentication system does not match your requirement.
4545

4646
| Name | Version |
4747
|------|---------|
48-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
48+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
4949

5050
## Modules
5151

modules/infrastructure/permissions/org-role-ecs/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ The aim of this module is to manage the organizational **managed account** requi
3232

3333
| Name | Version |
3434
|------|---------|
35-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
36-
| <a name="provider_aws.member"></a> [aws.member](#provider\_aws.member) | 4.22.0 |
35+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
36+
| <a name="provider_aws.member"></a> [aws.member](#provider\_aws.member) | 4.23.0 |
3737

3838
## Modules
3939

modules/infrastructure/permissions/org-role-eks/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The aim of this module is to manage the organizational **managed account** requi
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
3030

3131
## Modules
3232

modules/infrastructure/resource-group/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
| Name | Version |
1515
|------|---------|
16-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
16+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1717

1818
## Modules
1919

modules/infrastructure/sqs-sns-subscription/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
| Name | Version |
1414
|------|---------|
15-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
15+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1616

1717
## Modules
1818

modules/infrastructure/sqs-sns-subscription/main.tf

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ data "aws_iam_policy_document" "this" {
2929
values = [var.cloudtrail_sns_arn]
3030
}
3131
actions = [
32-
"sqs:SendMessage",
33-
"sqs:SendMessageBatch"
32+
"sqs:SendMessage"
3433
]
3534
resources = [aws_sqs_queue.this.arn]
3635
}

modules/infrastructure/ssm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ and pass it, in a safe way, to all the modules that require it.
1616

1717
| Name | Version |
1818
|------|---------|
19-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
19+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
2020

2121
## Modules
2222

modules/services/cloud-bench/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This module will be deployed as a StackSet and it will take into account newly m
2828

2929
| Name | Version |
3030
|------|---------|
31-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
31+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
3232
| <a name="provider_random"></a> [random](#provider\_random) | 3.3.2 |
3333
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.39 |
3434

modules/services/cloud-connector-ecs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A task deployed on an **ECS deployment** will detect events in your infrastructu
1515

1616
| Name | Version |
1717
|------|---------|
18-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.22.0 |
18+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.23.0 |
1919
| <a name="provider_sysdig"></a> [sysdig](#provider\_sysdig) | 0.5.39 |
2020

2121
## Modules

modules/services/cloud-connector-ecs/permissions.tf

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ data "aws_iam_policy_document" "iam_role_task_policy_sqs" {
4949
effect = "Allow"
5050
actions = [
5151
"sqs:DeleteMessage",
52-
"sqs:DeleteMessageBatch",
5352
"sqs:ReceiveMessage"
5453
]
5554
resources = [

0 commit comments

Comments
 (0)