diff --git a/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo-designer.png b/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo-designer.png new file mode 100644 index 0000000..b33cad5 Binary files /dev/null and b/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo-designer.png differ diff --git a/example-projects/counter-demo/aws-cloudformation/start-with-vpc.py b/example-projects/counter-demo/aws-cloudformation/start-with-vpc.py index 8747eda..b5f0ed8 100644 --- a/example-projects/counter-demo/aws-cloudformation/start-with-vpc.py +++ b/example-projects/counter-demo/aws-cloudformation/start-with-vpc.py @@ -1,13 +1,25 @@ -import time - import boto3 -from botocore.exceptions import ClientError + + +################################################################################################ +# +# Configuration Parameters +# +################################################################################################ + region = 'eu-central-1' stackName = 'cloudcomp-counter-demo-stack' keyName = 'srieger-pub' +################################################################################################ +# +# boto3 code +# +################################################################################################ + + client = boto3.setup_default_session(region_name=region) cfClient = boto3.client('cloudformation') diff --git a/example-projects/counter-demo/aws-cloudformation/start.py b/example-projects/counter-demo/aws-cloudformation/start.py index ed613bc..1739f82 100644 --- a/example-projects/counter-demo/aws-cloudformation/start.py +++ b/example-projects/counter-demo/aws-cloudformation/start.py @@ -1,13 +1,25 @@ -import time - import boto3 -from botocore.exceptions import ClientError + + +################################################################################################ +# +# Configuration Parameters +# +################################################################################################ + region = 'eu-central-1' stackName = 'cloudcomp-counter-demo-stack' keyName = 'srieger-pub' +################################################################################################ +# +# boto3 code +# +################################################################################################ + + client = boto3.setup_default_session(region_name=region) cfClient = boto3.client('cloudformation') diff --git a/example-projects/counter-demo/aws-cloudformation/status.py b/example-projects/counter-demo/aws-cloudformation/status.py index 76fb66d..923e19f 100644 --- a/example-projects/counter-demo/aws-cloudformation/status.py +++ b/example-projects/counter-demo/aws-cloudformation/status.py @@ -1,12 +1,26 @@ import json -import time import boto3 -from botocore.exceptions import ClientError + + +################################################################################################ +# +# Configuration Parameters +# +################################################################################################ + region = 'eu-central-1' stackName = 'cloudcomp-counter-demo-stack' + +################################################################################################ +# +# boto3 code +# +################################################################################################ + + client = boto3.setup_default_session(region_name=region) cfClient = boto3.client('cloudformation') diff --git a/example-projects/counter-demo/aws-cloudformation/stop.py b/example-projects/counter-demo/aws-cloudformation/stop.py index bb0b823..7968a92 100644 --- a/example-projects/counter-demo/aws-cloudformation/stop.py +++ b/example-projects/counter-demo/aws-cloudformation/stop.py @@ -1,11 +1,24 @@ -import time - import boto3 -from botocore.exceptions import ClientError + + +################################################################################################ +# +# Configuration Parameters +# +################################################################################################ + region = 'eu-central-1' stackName = 'cloudcomp-counter-demo-stack' + +################################################################################################ +# +# boto3 code +# +################################################################################################ + + client = boto3.setup_default_session(region_name=region) cfClient = boto3.client('cloudformation')