Description
I'm having issue when bootstrapping cdk. It successfully bootstrapped when I run this:
cdk bootstrap aws://xxxxxxx/us-east-1 -c region=us-east-1 -c account_id=xxxxxx -c stack_name=slurmminimal -c SshKeyPair=key -c VpcId=vpc-0ff9de2afc42ab3 -c SubnetId=subnet-0456bccaac4a63914 -c ErrorSnsTopicArn=arn:aws:sns:us-east-1:098962443:ErrorSlurm -c SubmitterSecurityGroupIds=eyJzZ1NsdXJtIjogInNnLTA0MjgxZDc2ZjljNGEwZGNmIn0=
But when I minimal deploy with
./install.sh --prompt --cdk-cmd create
CDK would bootstrap again and failed to get a value from App()
ERROR:root:No token file found. Also make sure that a [prod] section with a 'token = value' assignment exists.
Traceback (most recent call last):
File "app.py", line 24, in
app = App()
I have configured aws secret id and key, and also region. The user and ec2 roles don't have any IAM permission.
Originally posted by @lihnm in #12 (comment)