瀏覽代碼

update CloudFormation/role.yaml.

xdc 5 年之前
父節點
當前提交
86a8fa4d5a
共有 1 個文件被更改,包括 6 次插入1 次删除
  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