|
@ -1,13 +1,25 @@ |
|
|
import time |
|
|
|
|
|
|
|
|
|
|
|
import boto3 |
|
|
import boto3 |
|
|
from botocore.exceptions import ClientError |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################################ |
|
|
|
|
|
# |
|
|
|
|
|
# Configuration Parameters |
|
|
|
|
|
# |
|
|
|
|
|
################################################################################################ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
region = 'eu-central-1' |
|
|
region = 'eu-central-1' |
|
|
stackName = 'cloudcomp-counter-demo-stack' |
|
|
stackName = 'cloudcomp-counter-demo-stack' |
|
|
keyName = 'srieger-pub' |
|
|
keyName = 'srieger-pub' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################################ |
|
|
|
|
|
# |
|
|
|
|
|
# boto3 code |
|
|
|
|
|
# |
|
|
|
|
|
################################################################################################ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
client = boto3.setup_default_session(region_name=region) |
|
|
client = boto3.setup_default_session(region_name=region) |
|
|
cfClient = boto3.client('cloudformation') |
|
|
cfClient = boto3.client('cloudformation') |
|
|
|
|
|
|
|
|