Skip to content

Commit cbac2e8

Browse files
committed
BAU: no DT layer
1 parent 47463aa commit cbac2e8

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

solutions/app-infra/template.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,7 @@ Globals:
271271
Tracing: Active
272272
AutoPublishAlias: live
273273
KmsKeyArn: !GetAtt LambdaEnvironmentVariableEncryptionKey.Arn
274-
Layers:
275-
- !If [
276-
IsLocal,
277-
!Ref AWS::NoValue,
278-
"arn:aws:lambda:eu-west-2:216552277552:layer:Dynatrace_OneAgent_1_313_2_20250404-043044_with_collector_nodejs:1",
279-
]
274+
280275
CodeSigningConfigArn: !If
281276
- UseCodeSigning
282277
- !Ref CodeSigningConfigArn
@@ -297,7 +292,7 @@ Globals:
297292
SecurityGroupIds:
298293
- Fn::ImportValue: !Sub ${VpcStackName}-AWSServicesEndpointSecurityGroupId
299294
Timeout: 10
300-
MemorySize: 4000 # so that we get ~1 VCPU
295+
MemorySize: 1769 # so that we get ~1 VCPU
301296
Architectures:
302297
- !Ref LambdaArchitecture
303298
Runtime: nodejs24.x
@@ -321,8 +316,7 @@ Globals:
321316
LOCALSTACK_ACCESS_KEY_ID: !Ref AWS::NoValue
322317
LOCALSTACK_ACCESS_KEY: !Ref AWS::NoValue
323318
LOCAL_KMS_ENDPOINT: !Ref AWS::NoValue
324-
AWS_LAMBDA_EXEC_WRAPPER:
325-
!If [IsLocal, !Ref AWS::NoValue, "/opt/dynatrace"]
319+
326320
DT_CONNECTION_AUTH_TOKEN: !Sub
327321
- "{{resolve:secretsmanager:${SecretArn}:SecretString:DT_CONNECTION_AUTH_TOKEN}}" # pragma: allowlist-secret
328322
- SecretArn:

0 commit comments

Comments
 (0)