forked from jamniel/AWSChinaCreateAccount
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccountInitial.yml
More file actions
26 lines (24 loc) · 800 Bytes
/
AccountInitial.yml
File metadata and controls
26 lines (24 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
AWSTemplateFormatVersion: "2010-09-09"
Description: This is a template for bootstrap CloudFormation. You may customize your resources in this template which will be deployed to new accounts automatically.
Parameters:
AdminUsername:
Type: String
Description: Username for the Admin user
Default: 'LZ-ADMIN'
AdminPassword:
Type: String
NoEcho: True
MinLength: 1
Description: Password for the Admin user, Please change to your own password.
Default: "ChangeToYourOwnP@ssw0rd"
Resources:
Admin:
Type: AWS::IAM::User
Properties:
UserName: !Ref AdminUsername
Path: "/"
LoginProfile:
Password: !Ref AdminPassword
PasswordResetRequired: True
ManagedPolicyArns:
- "arn:aws-cn:iam::aws:policy/AdministratorAccess"