Parcourir la source

update CloudFormation/role.yaml.

xdc il y a 5 ans
Parent
commit
86a8fa4d5a
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      CloudFormation/role.yaml

+ 6 - 1
CloudFormation/role.yaml

@@ -16,6 +16,7 @@ Resources:
             Action:
               - 'sts:AssumeRole'
       Path: /
+      RoleName: !Ref roleName
     Metadata:
       'AWS::CloudFormation::Designer':
         id: 5a809822-8fad-40ca-bd0f-7aae64ae7b4a
@@ -42,4 +43,8 @@ Resources:
         - Ref: RootRole
     Metadata:
       'AWS::CloudFormation::Designer':
-        id: 15050a6e-6cfb-43ec-b19f-c3c3102187d3
+        id: 15050a6e-6cfb-43ec-b19f-c3c3102187d3
+Parameters:
+  roleName:
+    Type: String
+    Default: BaseRole