Skip to content

Commit fd64db6

Browse files
committed
removed postfix "1" from roles, groups, policies
1 parent 82182f2 commit fd64db6

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

AWSDevOpsTutorialCloudFormationStack.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@
214214
}
215215
},
216216

217-
"DynatraceLambdaRole1": {
217+
"DynatraceLambdaRole": {
218218
"Type": "AWS::IAM::Role",
219219
"Properties": {
220-
"RoleName": "DynatraceLambdaRole1",
220+
"RoleName": "DynatraceLambdaRole",
221221
"AssumeRolePolicyDocument": {
222222
"Version": "2012-10-17",
223223
"Statement": [
@@ -242,10 +242,10 @@
242242
]
243243
}
244244
},
245-
"DynatraceCodeDeployRole1": {
245+
"DynatraceCodeDeployRole": {
246246
"Type": "AWS::IAM::Role",
247247
"Properties": {
248-
"RoleName": "DynatraceCodeDeployRole1",
248+
"RoleName": "DynatraceCodeDeployRole",
249249
"AssumeRolePolicyDocument": {
250250
"Version": "2012-10-17",
251251
"Statement": [
@@ -264,10 +264,10 @@
264264
]
265265
}
266266
},
267-
"DynatraceCodePipelineRole1": {
267+
"DynatraceCodePipelineRole": {
268268
"Type": "AWS::IAM::Role",
269269
"Properties": {
270-
"RoleName": "DynatraceCodePipelineRole1",
270+
"RoleName": "DynatraceCodePipelineRole",
271271
"AssumeRolePolicyDocument": {
272272
"Version": "2012-10-17",
273273
"Statement": [
@@ -283,7 +283,7 @@
283283
"Path": "/",
284284
"Policies": [
285285
{
286-
"PolicyName": "DynatraceEC2CodeDeployInstanceProfilePolicy1",
286+
"PolicyName": "DynatraceEC2CodeDeployInstanceProfilePolicy",
287287
"PolicyDocument": {
288288
"Statement": [
289289
{
@@ -381,22 +381,22 @@
381381
]
382382
}
383383
},
384-
"DynatraceEC2InstanceProfile1": {
384+
"DynatraceEC2InstanceProfile": {
385385
"Type": "AWS::IAM::InstanceProfile",
386386
"Properties": {
387-
"InstanceProfileName": "DynatraceEC2InstanceProfile1",
387+
"InstanceProfileName": "DynatraceEC2InstanceProfile",
388388
"Path": "/",
389389
"Roles": [
390390
{
391-
"Ref": "DynatraceEC2InstanceProfileRole1"
391+
"Ref": "DynatraceEC2InstanceProfileRole"
392392
}
393393
]
394394
}
395395
},
396-
"DynatraceEC2InstanceProfileRole1": {
396+
"DynatraceEC2InstanceProfileRole": {
397397
"Type": "AWS::IAM::Role",
398398
"Properties": {
399-
"RoleName": "DynatraceEC2InstanceProfileRole1",
399+
"RoleName": "DynatraceEC2InstanceProfileRole",
400400
"AssumeRolePolicyDocument": {
401401
"Version": "2012-10-17",
402402
"Statement": [
@@ -494,7 +494,7 @@
494494
"Ref": "InstanceType"
495495
},
496496
"IamInstanceProfile": {
497-
"Ref": "DynatraceEC2InstanceProfile1"
497+
"Ref": "DynatraceEC2InstanceProfile"
498498
},
499499
"KeyName": {
500500
"Ref": "KeyName"
@@ -581,7 +581,7 @@
581581
"Ref": "InstanceType"
582582
},
583583
"IamInstanceProfile": {
584-
"Ref": "DynatraceEC2InstanceProfile1"
584+
"Ref": "DynatraceEC2InstanceProfile"
585585
},
586586
"KeyName": {
587587
"Ref": "KeyName"
@@ -662,7 +662,7 @@
662662
"Ref": "AnsibleTowerInstanceType"
663663
},
664664
"IamInstanceProfile": {
665-
"Ref": "DynatraceEC2InstanceProfile1"
665+
"Ref": "DynatraceEC2InstanceProfile"
666666
},
667667
"KeyName": {
668668
"Ref": "KeyName"
@@ -796,7 +796,7 @@
796796
"Handler": "handleDynatraceProblemNotification.handler",
797797
"Role": {
798798
"Fn::GetAtt": [
799-
"DynatraceLambdaRole1",
799+
"DynatraceLambdaRole",
800800
"Arn"
801801
]
802802
},
@@ -820,7 +820,7 @@
820820
"Handler": "getBuildValidationResults.handler",
821821
"Role": {
822822
"Fn::GetAtt": [
823-
"DynatraceLambdaRole1",
823+
"DynatraceLambdaRole",
824824
"Arn"
825825
]
826826
},
@@ -844,7 +844,7 @@
844844
"Handler": "getDynatraceBuildValidationResults.handler",
845845
"Role": {
846846
"Fn::GetAtt": [
847-
"DynatraceLambdaRole1",
847+
"DynatraceLambdaRole",
848848
"Arn"
849849
]
850850
},
@@ -868,7 +868,7 @@
868868
"Handler": "pushDynatraceDeploymentEvent.handler",
869869
"Role": {
870870
"Fn::GetAtt": [
871-
"DynatraceLambdaRole1",
871+
"DynatraceLambdaRole",
872872
"Arn"
873873
]
874874
},
@@ -892,7 +892,7 @@
892892
"Handler": "registerDynatraceBuildValidation.handler",
893893
"Role": {
894894
"Fn::GetAtt": [
895-
"DynatraceLambdaRole1",
895+
"DynatraceLambdaRole",
896896
"Arn"
897897
]
898898
},
@@ -916,7 +916,7 @@
916916
"Handler": "validateBuildDynatraceWorker.handler",
917917
"Role": {
918918
"Fn::GetAtt": [
919-
"DynatraceLambdaRole1",
919+
"DynatraceLambdaRole",
920920
"Arn"
921921
]
922922
},
@@ -955,7 +955,7 @@
955955
},
956956
"ServiceRoleArn": {
957957
"Fn::GetAtt": [
958-
"DynatraceCodeDeployRole1",
958+
"DynatraceCodeDeployRole",
959959
"Arn"
960960
]
961961
}
@@ -983,7 +983,7 @@
983983
},
984984
"ServiceRoleArn": {
985985
"Fn::GetAtt": [
986-
"DynatraceCodeDeployRole1",
986+
"DynatraceCodeDeployRole",
987987
"Arn"
988988
]
989989
}
@@ -1011,7 +1011,7 @@
10111011
},
10121012
"ServiceRoleArn": {
10131013
"Fn::GetAtt": [
1014-
"DynatraceCodeDeployRole1",
1014+
"DynatraceCodeDeployRole",
10151015
"Arn"
10161016
]
10171017
}
@@ -1039,7 +1039,7 @@
10391039
},
10401040
"ServiceRoleArn": {
10411041
"Fn::GetAtt": [
1042-
"DynatraceCodeDeployRole1",
1042+
"DynatraceCodeDeployRole",
10431043
"Arn"
10441044
]
10451045
}
@@ -1065,7 +1065,7 @@
10651065
"Name": "SampleDevOpsPipeline",
10661066
"RoleArn": {
10671067
"Fn::GetAtt": [
1068-
"DynatraceCodePipelineRole1",
1068+
"DynatraceCodePipelineRole",
10691069
"Arn"
10701070
]
10711071
},

0 commit comments

Comments
 (0)