You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the train -vk failed to do the train.env file having a TRAINER=Jay Johnson.
Jay Johnson-jays-lab:us-east-1:~$ train -vk
Creating AWS VPC ...
Creating IAM Profile: Jay Johnson-jays-lab ...
Traceback (most recent call last):
File "/home/train/bin/train", line 111, in <module>
process()
File "/home/train/bin/train", line 74, in process
vpc.create_vpc()
File "/home/train/train/vpc/vpc.py", line 488, in create_vpc
create_iam_profile()
File "/home/train/train/vpc/vpc.py", line 291, in create_iam_profile
instance_profile = conn.create_instance_profile(IAM_PROFILE)
File "/usr/local/lib/python2.7/site-packages/boto/iam/connection.py", line 1103, in create_instance_profile
return self.get_response('CreateInstanceProfile', params)
File "/usr/local/lib/python2.7/site-packages/boto/iam/connection.py", line 102, in get_response
raise self.ResponseError(response.status, response.reason, body)
boto.exception.BotoServerError: BotoServerError: 400 Bad Request
<ErrorResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<Error>
<Type>Sender</Type>
<Code>ValidationError</Code>
<Message>1 validation error detected: Value 'Jay Johnson-jays-lab' at 'instanceProfileName' failed to satisfy constraint: Member must satisfy regular expression pattern: [\w+=,.@-]+</Message>
</Error>
<RequestId>b240c5bc-4e78-11e6-8c9b-db55117da722</RequestId>
</ErrorResponse>
Removing the space fixed it:
JayJohnson-jays-lab:us-east-1:~$ train -vk
Creating AWS VPC ...
Creating IAM Profile: JayJohnson-jays-lab ...
IAM profile, role, and policy created ...
Creating VPC: JayJohnson-jays-lab ...
Creating gateway: JayJohnson-jays-lab-igw ...
Creating route table: JayJohnson-jays-lab-route-table ...
Configuring network ACL: JayJohnson-jays-lab-network-acl ...
The text was updated successfully, but these errors were encountered:
Looks like the
train -vk
failed to do thetrain.env
file having aTRAINER=Jay Johnson
.Removing the space fixed it:
The text was updated successfully, but these errors were encountered: