File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -1237,29 +1237,17 @@ Resources:
12371237 # custom resource to cleanup S3 buckets
12381238 S3Cleanup :
12391239 Type : Custom::S3Cleanup
1240- DeletionPolicy : Retain
1241- UpdateReplacePolicy : Retain
12421240 Condition : ShouldCleanupBuckets
12431241 Properties :
12441242 ServiceToken : !GetAtt S3CleanupLambda.Arn
1245- ServiceTimeout : 60
12461243 Buckets :
12471244 - !Ref WebAppBucket
12481245
12491246 # Lambda function for custom resource
12501247 S3CleanupLambda :
12511248 Type : AWS::Lambda::Function
1252- Condition : ShouldCleanupBuckets
1249+ Condition : ShouldCleanupBuckets
12531250 Properties :
1254- VpcConfig :
1255- !If
1256- - NeedsVpc
1257- -
1258- SecurityGroupIds :
1259- - !Ref VpcSecurityGroupId
1260- SubnetIds :
1261- - !Ref VpcSubnetId
1262- - !Ref " AWS::NoValue"
12631251 Code :
12641252 S3Bucket : !Ref SourceBucket
12651253 S3Key : !Ref CustomResourceCodeObject
You can’t perform that action at this time.
0 commit comments