소스 검색

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