Skip to content

Commit

Permalink
Merge pull request #710 from PRX/remove-lambda-insights
Browse files Browse the repository at this point in the history
Remove Insights for Arranger
  • Loading branch information
farski authored Oct 10, 2023
2 parents 9adf933 + 11db0be commit 9678636
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spire/templates/apps/dovetail-cdn-arranger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ Parameters:
ArrangementsDynamodbTtl: { Type: AWS::SSM::Parameter::Value<String> }
ArrangementsDynamodbAccessRoleArn: { Type: AWS::SSM::Parameter::Value<String> }

Conditions:
IsProduction: !Equals [!Ref EnvironmentType, Production]

Resources:
DtCdnArrangerWorkspaceBucket:
Type: AWS::S3::Bucket
Expand Down Expand Up @@ -128,14 +125,9 @@ Resources:
Handler: index.handler
Layers:
- !Ref FfmpegBinaryLayer
- !If
- IsProduction
- !Sub arn:${AWS::Partition}:lambda:${AWS::Region}:580247275435:layer:LambdaInsightsExtension:14
- !Ref AWS::NoValue
MemorySize: 8000
Runtime: nodejs16.x
Policies:
- arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy
- Statement:
- Action:
- dynamodb:DescribeTable
Expand Down

0 comments on commit 9678636

Please sign in to comment.