File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 11// / This file creates all lambdas needed for each endpoint plus api-gateway
22
33locals {
4- policy_path = " ${ path . root } /policies"
4+ policy_path = " ${ path . root } /policies"
55}
66
77data "aws_iam_policy_document" "logs_policy_document" {
@@ -51,7 +51,8 @@ data "aws_iam_policy_document" "imms_policy_document" {
5151 }),
5252 templatefile (" ${ local . policy_path } /secret_manager.json" , {
5353 " account_id" : data.aws_caller_identity.current.account_id
54- })
54+ }),
55+ file (" ${ local . policy_path } /ec2_network_interfaces.json" )
5556 ]
5657}
5758
Original file line number Diff line number Diff line change 1+ {
2+ "Version" : " 2012-10-17" ,
3+ "Statement" : [
4+ {
5+ "Effect" : " Allow" ,
6+ "Action" : [
7+ " ec2:CreateNetworkInterface" ,
8+ " ec2:DescribeNetworkInterfaces" ,
9+ " ec2:DeleteNetworkInterface"
10+ ],
11+ "Resource" : " *"
12+ }
13+ ]
14+ }
You can’t perform that action at this time.
0 commit comments