@@ -141,7 +141,7 @@ def _validate_cluster_size(size):
141
141
# Keys corresponding to CloudFormation user Inputs.
142
142
access_key_id_param = template .add_parameter (Parameter (
143
143
"AmazonAccessKeyID" ,
144
- Description = "Required: Your Amazon AWS access key ID" ,
144
+ Description = "Your Amazon AWS access key ID (mandatory) " ,
145
145
Type = "String" ,
146
146
NoEcho = True ,
147
147
AllowedPattern = "[\w]+" ,
@@ -150,32 +150,25 @@ def _validate_cluster_size(size):
150
150
))
151
151
secret_access_key_param = template .add_parameter (Parameter (
152
152
"AmazonSecretAccessKey" ,
153
- Description = "Required: Your Amazon AWS secret access key" ,
153
+ Description = "Your Amazon AWS secret access key (mandatory) " ,
154
154
Type = "String" ,
155
155
NoEcho = True ,
156
156
MinLength = "1" ,
157
157
))
158
158
keyname_param = template .add_parameter (Parameter (
159
159
"EC2KeyPair" ,
160
- Description = "Required: Name of an existing EC2 KeyPair to enable SSH "
161
- "access to the instance" ,
162
- Type = "AWS::EC2::KeyPair::KeyName" ,
163
- ))
164
- secret_access_key_param = template .add_parameter (Parameter (
165
- "S3AccessPolicy" ,
166
- Description = "Required: Is current IAM user allowed to access S3? "
167
- "S3 access is required to distribute Flocker and Docker "
168
- "configuration amongst stack nodes. Reference: "
169
- "http://docs.aws.amazon.com/IAM/latest/UserGuide/"
170
- "access_permissions.html Stack creation will fail if user "
171
- "cannot access S3" ,
160
+ Description = "Name of an existing EC2 KeyPair to enable SSH "
161
+ "access to the instance (mandatory)" ,
172
162
Type = "String" ,
173
- AllowedValues = ["Yes" ],
163
+ MinLength = "1" ,
164
+ AllowedPattern = "[\x20 -\x7E ]*" ,
165
+ MaxLength = "255" ,
166
+ ConstraintDescription = "can contain only ASCII characters." ,
174
167
))
175
168
volumehub_token = template .add_parameter (Parameter (
176
169
"VolumeHubToken" ,
177
170
Description = (
178
- "Optional: Your Volume Hub token. "
171
+ "Your Volume Hub token (optional) . "
179
172
"You'll find the token at https://volumehub.clusterhq.com/v1/token."
180
173
),
181
174
Type = "String" ,
0 commit comments