Skip to content

Commit 5406353

Browse files
committed
Updated to version v2.5.1
1 parent 07c3076 commit 5406353

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

deployment/workspaces-cost-optimizer-spoke.template

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,22 @@ Resources:
217217
- !Ref AWS::Region
218218
- !Ref HubAccountId
219219
AttributeGroup: !GetAtt DefaultApplicationAttributes.Id
220-
220+
221+
ApplicationInsightsConfiguration:
222+
Type: AWS::ApplicationInsights::Application
223+
Properties:
224+
ResourceGroupName:
225+
!Join
226+
- "-"
227+
- - AWS_CloudFormation_Stack
228+
- Ref: AWS::StackName
229+
AutoConfigurationEnabled: true
230+
CWEMonitorEnabled: true
231+
OpsCenterEnabled: true
232+
Tags:
233+
- Key: !FindInMap [Solution, Data, "TagKey"]
234+
Value: !Ref "AWS::StackName"
235+
221236
Outputs:
222237
SolutionID:
223238
Value: !FindInMap ["Solution", "Data", "ID"]

deployment/workspaces-cost-optimizer.template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,25 @@ Resources:
10831083
Application: !GetAtt Application.Id
10841084
AttributeGroup: !GetAtt DefaultApplicationAttributes.Id
10851085

1086+
ApplicationInsightsConfiguration:
1087+
Type: AWS::ApplicationInsights::Application
1088+
DependsOn:
1089+
- Application
1090+
Properties:
1091+
ResourceGroupName:
1092+
!Join
1093+
- "-"
1094+
- - AWS_AppRegistry_Application
1095+
- !FindInMap [Solution, Data, "AppRegistryApplicationName"]
1096+
- !Ref AWS::Region
1097+
- !Ref AWS::AccountId
1098+
AutoConfigurationEnabled: true
1099+
CWEMonitorEnabled: true
1100+
OpsCenterEnabled: true
1101+
Tags:
1102+
- Key: !FindInMap [Solution, Data, "TagKey"]
1103+
Value: !Ref "AWS::StackName"
1104+
10861105

10871106
# External Resources [end]
10881107

0 commit comments

Comments
 (0)