We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5603ad8 commit 9fac559Copy full SHA for 9fac559
data.tf
@@ -43,9 +43,7 @@ data "aws_iam_policy_document" "update_lambda" {
43
"apigateway:POST",
44
"apigateway:PUT",
45
]
46
- resources = [
47
- var.apigw_arn,
48
- ]
+ resources = ["arn:aws:apigateway:${data.aws_region.current.name}::/restapis/${var.apigw_id}/*"]
49
}
50
51
0 commit comments