Skip to content

Commit

Permalink
Merge pull request #108 from silinternational/develop
Browse files Browse the repository at this point in the history
Release 2.3.10 - Fix `extra_policies` data type
  • Loading branch information
forevermatt authored May 22, 2023
2 parents f266dd6 + 57cbedc commit 5c220d0
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ module "serverless-user" {
aws_region = var.aws_region
enable_api_gateway = true
extra_policies = [
{
"Version" : "2012-10-17",
"Statement" : [
{
"Effect" : "Allow",
"Action" : [
"dynamodb:DescribeTable"
],
"Resource" : [
"arn:aws:dynamodb:*:*:table/mfa-api_*"
]
}
]
}
jsonencode(
{
"Version" : "2012-10-17",
"Statement" : [
{
"Effect" : "Allow",
"Action" : [
"dynamodb:DescribeTable"
],
"Resource" : [
"arn:aws:dynamodb:*:*:table/mfa-api_*"
]
}
]
}
)
]
}

0 comments on commit 5c220d0

Please sign in to comment.