Skip to content

Commit

Permalink
Remove missed custom log group tags
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Aug 14, 2023
1 parent f91197c commit bfba3f2
Show file tree
Hide file tree
Showing 10 changed files with 254 additions and 254 deletions.
52 changes: 26 additions & 26 deletions stacks/apps/cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,19 +301,19 @@ Resources:
Type: AWS::Logs::LogGroup
Properties:
RetentionInDays: 14
WebTaskLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref WebTaskLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:application, Value: CMS }
# WebTaskLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref WebTaskLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:application, Value: CMS }
WebTaskDefinition:
Type: AWS::ECS::TaskDefinition
Properties:
Expand Down Expand Up @@ -417,19 +417,19 @@ Resources:
Type: AWS::Logs::LogGroup
Properties:
RetentionInDays: 14
WorkerTaskLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref WorkerTaskLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:application, Value: CMS }
# WorkerTaskLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref WorkerTaskLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:application, Value: CMS }
WorkerTaskDefinition:
Type: AWS::ECS::TaskDefinition
Properties:
Expand Down
84 changes: 42 additions & 42 deletions stacks/apps/dovetail-analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,20 @@ Resources:
Properties:
LogGroupName: !Sub /aws/lambda/${AnalyticsBigqueryFunction}
RetentionInDays: 14
AnalyticsBigqueryFunctionLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref AnalyticsBigqueryFunctionLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Analytics }
# AnalyticsBigqueryFunctionLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref AnalyticsBigqueryFunctionLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:family, Value: Dovetail }
# - { Key: prx:dev:application, Value: Analytics }
AnalyticsBigqueryFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Condition: IsProduction
Expand Down Expand Up @@ -566,20 +566,20 @@ Resources:
Properties:
LogGroupName: !Sub /aws/lambda/${AnalyticsDynamoDbFunction}
RetentionInDays: 14
AnalyticsDynamoDbFunctionLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref AnalyticsDynamoDbFunctionLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Analytics }
# AnalyticsDynamoDbFunctionLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref AnalyticsDynamoDbFunctionLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:family, Value: Dovetail }
# - { Key: prx:dev:application, Value: Analytics }
AnalyticsDynamoDbFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Condition: IsProduction
Expand Down Expand Up @@ -844,20 +844,20 @@ Resources:
Properties:
LogGroupName: !Sub /aws/lambda/${AnalyticsPingbacksFunction}
RetentionInDays: 14
AnalyticsPingbacksFunctionLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref AnalyticsPingbacksFunctionLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Analytics }
# AnalyticsPingbacksFunctionLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref AnalyticsPingbacksFunctionLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:family, Value: Dovetail }
# - { Key: prx:dev:application, Value: Analytics }
AnalyticsPingbacksFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Condition: IsProduction
Expand Down
28 changes: 14 additions & 14 deletions stacks/apps/dovetail-cdn-arranger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,20 +172,20 @@ Resources:
Properties:
LogGroupName: !Sub /aws/lambda/${ArrangerFunction}
RetentionInDays: 14
ArrangerFunctionLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref ArrangerFunctionLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: CDN Arranger }
# ArrangerFunctionLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref ArrangerFunctionLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:family, Value: Dovetail }
# - { Key: prx:dev:application, Value: CDN Arranger }
ArrangerFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Properties:
Expand Down
28 changes: 14 additions & 14 deletions stacks/apps/dovetail-counts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,20 +140,20 @@ Resources:
Properties:
LogGroupName: !Sub /aws/lambda/${CountsFunction}
RetentionInDays: 14
CountsFunctionLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref CountsFunctionLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Counts }
# CountsFunctionLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref CountsFunctionLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:family, Value: Dovetail }
# - { Key: prx:dev:application, Value: Counts }
CountsFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Properties:
Expand Down
28 changes: 14 additions & 14 deletions stacks/apps/dovetail-marketing-form-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,20 +159,20 @@ Resources:
Properties:
LogGroupName: !Sub /aws/lambda/${FormSubmissionFunction}
RetentionInDays: 14
FormSubmissionFunctionLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref FormSubmissionFunctionLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Marketing Website }
# FormSubmissionFunctionLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref FormSubmissionFunctionLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:family, Value: Dovetail }
# - { Key: prx:dev:application, Value: Marketing Website }
FormSubmissionFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Properties:
Expand Down
28 changes: 14 additions & 14 deletions stacks/apps/dovetail-metrics-export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,20 @@ Resources:
Properties:
LogGroupName: !Sub /aws/lambda/${ExportFunction}
RetentionInDays: 14
ExportFunctionLogGroupTags:
Type: Custom::CloudWatchLogGroupTags
Properties:
ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
LogGroupName: !Ref ExportFunctionLogGroup
Tags:
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Metrics Export }
# ExportFunctionLogGroupTags:
# Type: Custom::CloudWatchLogGroupTags
# Properties:
# ServiceToken: !Ref CloudWatchLogGroupTaggerServiceToken
# LogGroupName: !Ref ExportFunctionLogGroup
# Tags:
# - { Key: prx:meta:tagging-version, Value: "2021-04-07" }
# - { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
# - { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
# - { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
# - { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
# - { Key: prx:ops:environment, Value: !Ref EnvironmentType }
# - { Key: prx:dev:family, Value: Dovetail }
# - { Key: prx:dev:application, Value: Metrics Export }

ExportFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Expand Down
Loading

0 comments on commit bfba3f2

Please sign in to comment.