Skip to content

Commit 83b2374

Browse files
committed
deploy inside a vpc
1 parent e8a04a1 commit 83b2374

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SAMtemplates/main_template.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ Resources:
119119
Runtime: java21
120120
Layers:
121121
- !Sub "arn:aws:lambda:${AWS::Region}:580247275435:layer:LambdaInsightsExtension:56"
122+
VpcConfig:
123+
SubnetIds:
124+
- subnet-0df16e0ac5f81607f
125+
- subnet-0fee41653b358c179
126+
- subnet-02f13219e4528459b
122127
Environment:
123128
Variables:
124129
AWS_LAMBDA_LOG_LEVEL: !Ref LogLevel
@@ -128,7 +133,6 @@ Resources:
128133
guard:
129134
SuppressedRules:
130135
- LAMBDA_DLQ_CHECK
131-
- LAMBDA_INSIDE_VPC
132136
- LAMBDA_CONCURRENCY_CHECK
133137

134138
Alarms:

0 commit comments

Comments
 (0)