|
@ -16,8 +16,9 @@ import boto3 |
|
|
# region = 'eu-central-1' |
|
|
# region = 'eu-central-1' |
|
|
region = 'us-east-1' |
|
|
region = 'us-east-1' |
|
|
stackName = 'cloudcomp-counter-demo-stack' |
|
|
stackName = 'cloudcomp-counter-demo-stack' |
|
|
keyName = 'srieger-pub' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# keyName = 'srieger-pub' |
|
|
|
|
|
keyName = 'vockey' |
|
|
|
|
|
roleName = 'LabRole' |
|
|
|
|
|
|
|
|
################################################################################################ |
|
|
################################################################################################ |
|
|
# |
|
|
# |
|
@ -49,5 +50,9 @@ response = cfClient.create_stack( |
|
|
'ParameterKey': 'paramKeyPair', |
|
|
'ParameterKey': 'paramKeyPair', |
|
|
'ParameterValue': keyName |
|
|
'ParameterValue': keyName |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
'ParameterKey': 'paramIamInstanceRole', |
|
|
|
|
|
'ParameterValue': roleName |
|
|
|
|
|
}, |
|
|
], |
|
|
], |
|
|
) |
|
|
) |