diff --git a/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo-with-vpc.json b/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo-with-vpc.json index 0e3d8ac10c6fb970b7e63dd1ebdd866552034db5..68ffbf57065d111c97ff80db878babeacb3aabf0 100644 --- a/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo-with-vpc.json +++ b/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo-with-vpc.json @@ -18,11 +18,12 @@ }, "paramKeyPair": { "Type": "AWS::EC2::KeyPair::KeyName", + "Default": "vockey", "Description": "Amazon EC2 Key Pair" }, "paramIamInstanceRole": { "Type": "String", - "Default": "ec2-s3-vertsys-access-role", + "Default": "LabRole", "Description": "IAM Instance Role" } }, diff --git a/example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo.json b/example-projects/counter-demo/aws-cloudformation/old-example-without-vpc/cloudcomp-counter-demo.json similarity index 100% rename from example-projects/counter-demo/aws-cloudformation/cloudcomp-counter-demo.json rename to example-projects/counter-demo/aws-cloudformation/old-example-without-vpc/cloudcomp-counter-demo.json 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 388c424e9fcda14efbac5ff71522c334018109d1..62a062d21e88654639af2716d79640c156df4f8f 100644 --- a/example-projects/counter-demo/aws-cloudformation/start-with-vpc.py +++ b/example-projects/counter-demo/aws-cloudformation/start-with-vpc.py @@ -16,8 +16,9 @@ import boto3 # region = 'eu-central-1' region = 'us-east-1' 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', 'ParameterValue': keyName }, + { + 'ParameterKey': 'paramIamInstanceRole', + 'ParameterValue': roleName + }, ], )