|
214 | 214 | } |
215 | 215 | }, |
216 | 216 |
|
217 | | - "DynatraceLambdaRole1": { |
| 217 | + "DynatraceLambdaRole": { |
218 | 218 | "Type": "AWS::IAM::Role", |
219 | 219 | "Properties": { |
220 | | - "RoleName": "DynatraceLambdaRole1", |
| 220 | + "RoleName": "DynatraceLambdaRole", |
221 | 221 | "AssumeRolePolicyDocument": { |
222 | 222 | "Version": "2012-10-17", |
223 | 223 | "Statement": [ |
|
242 | 242 | ] |
243 | 243 | } |
244 | 244 | }, |
245 | | - "DynatraceCodeDeployRole1": { |
| 245 | + "DynatraceCodeDeployRole": { |
246 | 246 | "Type": "AWS::IAM::Role", |
247 | 247 | "Properties": { |
248 | | - "RoleName": "DynatraceCodeDeployRole1", |
| 248 | + "RoleName": "DynatraceCodeDeployRole", |
249 | 249 | "AssumeRolePolicyDocument": { |
250 | 250 | "Version": "2012-10-17", |
251 | 251 | "Statement": [ |
|
264 | 264 | ] |
265 | 265 | } |
266 | 266 | }, |
267 | | - "DynatraceCodePipelineRole1": { |
| 267 | + "DynatraceCodePipelineRole": { |
268 | 268 | "Type": "AWS::IAM::Role", |
269 | 269 | "Properties": { |
270 | | - "RoleName": "DynatraceCodePipelineRole1", |
| 270 | + "RoleName": "DynatraceCodePipelineRole", |
271 | 271 | "AssumeRolePolicyDocument": { |
272 | 272 | "Version": "2012-10-17", |
273 | 273 | "Statement": [ |
|
283 | 283 | "Path": "/", |
284 | 284 | "Policies": [ |
285 | 285 | { |
286 | | - "PolicyName": "DynatraceEC2CodeDeployInstanceProfilePolicy1", |
| 286 | + "PolicyName": "DynatraceEC2CodeDeployInstanceProfilePolicy", |
287 | 287 | "PolicyDocument": { |
288 | 288 | "Statement": [ |
289 | 289 | { |
|
381 | 381 | ] |
382 | 382 | } |
383 | 383 | }, |
384 | | - "DynatraceEC2InstanceProfile1": { |
| 384 | + "DynatraceEC2InstanceProfile": { |
385 | 385 | "Type": "AWS::IAM::InstanceProfile", |
386 | 386 | "Properties": { |
387 | | - "InstanceProfileName": "DynatraceEC2InstanceProfile1", |
| 387 | + "InstanceProfileName": "DynatraceEC2InstanceProfile", |
388 | 388 | "Path": "/", |
389 | 389 | "Roles": [ |
390 | 390 | { |
391 | | - "Ref": "DynatraceEC2InstanceProfileRole1" |
| 391 | + "Ref": "DynatraceEC2InstanceProfileRole" |
392 | 392 | } |
393 | 393 | ] |
394 | 394 | } |
395 | 395 | }, |
396 | | - "DynatraceEC2InstanceProfileRole1": { |
| 396 | + "DynatraceEC2InstanceProfileRole": { |
397 | 397 | "Type": "AWS::IAM::Role", |
398 | 398 | "Properties": { |
399 | | - "RoleName": "DynatraceEC2InstanceProfileRole1", |
| 399 | + "RoleName": "DynatraceEC2InstanceProfileRole", |
400 | 400 | "AssumeRolePolicyDocument": { |
401 | 401 | "Version": "2012-10-17", |
402 | 402 | "Statement": [ |
|
494 | 494 | "Ref": "InstanceType" |
495 | 495 | }, |
496 | 496 | "IamInstanceProfile": { |
497 | | - "Ref": "DynatraceEC2InstanceProfile1" |
| 497 | + "Ref": "DynatraceEC2InstanceProfile" |
498 | 498 | }, |
499 | 499 | "KeyName": { |
500 | 500 | "Ref": "KeyName" |
|
581 | 581 | "Ref": "InstanceType" |
582 | 582 | }, |
583 | 583 | "IamInstanceProfile": { |
584 | | - "Ref": "DynatraceEC2InstanceProfile1" |
| 584 | + "Ref": "DynatraceEC2InstanceProfile" |
585 | 585 | }, |
586 | 586 | "KeyName": { |
587 | 587 | "Ref": "KeyName" |
|
662 | 662 | "Ref": "AnsibleTowerInstanceType" |
663 | 663 | }, |
664 | 664 | "IamInstanceProfile": { |
665 | | - "Ref": "DynatraceEC2InstanceProfile1" |
| 665 | + "Ref": "DynatraceEC2InstanceProfile" |
666 | 666 | }, |
667 | 667 | "KeyName": { |
668 | 668 | "Ref": "KeyName" |
|
796 | 796 | "Handler": "handleDynatraceProblemNotification.handler", |
797 | 797 | "Role": { |
798 | 798 | "Fn::GetAtt": [ |
799 | | - "DynatraceLambdaRole1", |
| 799 | + "DynatraceLambdaRole", |
800 | 800 | "Arn" |
801 | 801 | ] |
802 | 802 | }, |
|
820 | 820 | "Handler": "getBuildValidationResults.handler", |
821 | 821 | "Role": { |
822 | 822 | "Fn::GetAtt": [ |
823 | | - "DynatraceLambdaRole1", |
| 823 | + "DynatraceLambdaRole", |
824 | 824 | "Arn" |
825 | 825 | ] |
826 | 826 | }, |
|
844 | 844 | "Handler": "getDynatraceBuildValidationResults.handler", |
845 | 845 | "Role": { |
846 | 846 | "Fn::GetAtt": [ |
847 | | - "DynatraceLambdaRole1", |
| 847 | + "DynatraceLambdaRole", |
848 | 848 | "Arn" |
849 | 849 | ] |
850 | 850 | }, |
|
868 | 868 | "Handler": "pushDynatraceDeploymentEvent.handler", |
869 | 869 | "Role": { |
870 | 870 | "Fn::GetAtt": [ |
871 | | - "DynatraceLambdaRole1", |
| 871 | + "DynatraceLambdaRole", |
872 | 872 | "Arn" |
873 | 873 | ] |
874 | 874 | }, |
|
892 | 892 | "Handler": "registerDynatraceBuildValidation.handler", |
893 | 893 | "Role": { |
894 | 894 | "Fn::GetAtt": [ |
895 | | - "DynatraceLambdaRole1", |
| 895 | + "DynatraceLambdaRole", |
896 | 896 | "Arn" |
897 | 897 | ] |
898 | 898 | }, |
|
916 | 916 | "Handler": "validateBuildDynatraceWorker.handler", |
917 | 917 | "Role": { |
918 | 918 | "Fn::GetAtt": [ |
919 | | - "DynatraceLambdaRole1", |
| 919 | + "DynatraceLambdaRole", |
920 | 920 | "Arn" |
921 | 921 | ] |
922 | 922 | }, |
|
955 | 955 | }, |
956 | 956 | "ServiceRoleArn": { |
957 | 957 | "Fn::GetAtt": [ |
958 | | - "DynatraceCodeDeployRole1", |
| 958 | + "DynatraceCodeDeployRole", |
959 | 959 | "Arn" |
960 | 960 | ] |
961 | 961 | } |
|
983 | 983 | }, |
984 | 984 | "ServiceRoleArn": { |
985 | 985 | "Fn::GetAtt": [ |
986 | | - "DynatraceCodeDeployRole1", |
| 986 | + "DynatraceCodeDeployRole", |
987 | 987 | "Arn" |
988 | 988 | ] |
989 | 989 | } |
|
1011 | 1011 | }, |
1012 | 1012 | "ServiceRoleArn": { |
1013 | 1013 | "Fn::GetAtt": [ |
1014 | | - "DynatraceCodeDeployRole1", |
| 1014 | + "DynatraceCodeDeployRole", |
1015 | 1015 | "Arn" |
1016 | 1016 | ] |
1017 | 1017 | } |
|
1039 | 1039 | }, |
1040 | 1040 | "ServiceRoleArn": { |
1041 | 1041 | "Fn::GetAtt": [ |
1042 | | - "DynatraceCodeDeployRole1", |
| 1042 | + "DynatraceCodeDeployRole", |
1043 | 1043 | "Arn" |
1044 | 1044 | ] |
1045 | 1045 | } |
|
1065 | 1065 | "Name": "SampleDevOpsPipeline", |
1066 | 1066 | "RoleArn": { |
1067 | 1067 | "Fn::GetAtt": [ |
1068 | | - "DynatraceCodePipelineRole1", |
| 1068 | + "DynatraceCodePipelineRole", |
1069 | 1069 | "Arn" |
1070 | 1070 | ] |
1071 | 1071 | }, |
|
0 commit comments