File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.86.0
3
+ rev : v1.87.1
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_validate
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ data "aws_caller_identity" "current" {}
4
4
5
5
locals {
6
6
account_id = data. aws_caller_identity . current . account_id
7
- dns_suffix = data. aws_partition . current . dns_suffix
8
7
partition = data. aws_partition . current . partition
9
8
region = data. aws_region . current . name
10
9
}
@@ -445,8 +444,8 @@ data "aws_iam_policy_document" "queue" {
445
444
principals {
446
445
type = " Service"
447
446
identifiers = [
448
- " events.${ local . dns_suffix } " ,
449
- " sqs.${ local . dns_suffix } " ,
447
+ " events.amazonaws.com " ,
448
+ " sqs.amazonaws.com " ,
450
449
]
451
450
}
452
451
}
You can’t perform that action at this time.
0 commit comments