Skip to content

Commit 0018c8c

Browse files
committed
feat: change ec2 default to tf
1 parent 68a9459 commit 0018c8c

File tree

5 files changed

+35
-24
lines changed

5 files changed

+35
-24
lines changed

demos/cqueue/cqueue_ec2.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,23 @@ topology_template:
109109
type: tosca.nodes.MiCADO.EC2.Compute
110110
properties: *compute_properties
111111
interfaces:
112-
# TERRAFORM: Change key to Terraform
113-
Occopus:
112+
Terraform:
114113
create:
115-
inputs: *endpoint_properties
114+
# Occopus:
115+
# create:
116+
# inputs: *endpoint_properties
117+
# endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
116118

117119
cq-server:
118120
type: tosca.nodes.MiCADO.EC2.Compute
119121
properties: *compute_properties
120122
interfaces:
121-
# TERRAFORM: Change key to Terraform
122-
Occopus:
123+
Terraform:
123124
create:
124-
inputs: *endpoint_properties
125+
# Occopus:
126+
# create:
127+
# inputs: *endpoint_properties
128+
# endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
125129

126130
policies:
127131
- scalability:

demos/nginx-firewall/nginx_ec2.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ topology_template:
3232
security_group_ids:
3333
- ADD_YOUR_SECURITY_GROUP_ID_HERE (e.g. sg-93d46bf7)
3434
interfaces:
35-
# TERRAFORM: Change key to Terraform
36-
Occopus:
35+
Terraform:
3736
create:
38-
inputs:
39-
endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
37+
# Occopus:
38+
# create:
39+
# inputs:
40+
# endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
4041

4142
outputs:
4243
ports:

demos/nginx/nginx_ec2.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ topology_template:
3232
security_group_ids:
3333
- ADD_YOUR_SECURITY_GROUP_ID_HERE (e.g. sg-93d46bf7)
3434
interfaces:
35-
# TERRAFORM: Change key to Terraform
36-
Occopus:
35+
Terraform:
3736
create:
38-
inputs:
39-
endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
37+
# Occopus:
38+
# create:
39+
# inputs:
40+
# endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
4041

4142
outputs:
4243
ports:

demos/stressng/stressng_ec2.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ topology_template:
2929
security_group_ids:
3030
- ADD_YOUR_SECURITY_GROUP_ID_HERE (e.g. sg-93d46bf7)
3131
interfaces:
32-
# TERRAFORM: Change key to Terraform
33-
Occopus:
32+
Terraform:
3433
create:
35-
inputs:
36-
endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
34+
# Occopus:
35+
# create:
36+
# inputs:
37+
# endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
3738

3839
policies:
3940
- monitoring:

demos/wordpress/wordpress_ec2.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,23 @@ topology_template:
103103
type: tosca.nodes.MiCADO.EC2.Compute
104104
properties: *compute_properties
105105
interfaces:
106-
# TERRAFORM: Change key to Terraform
107-
Occopus:
106+
Terraform:
108107
create:
109-
inputs: *endpoint_properties
108+
# Occopus:
109+
# create:
110+
# inputs: *endpoint_properties
111+
# endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
110112

111113
static-worker:
112114
type: tosca.nodes.MiCADO.EC2.Compute
113115
properties: *compute_properties
114116
interfaces:
115-
# TERRAFORM: Change key to Terraform
116-
Occopus:
117+
Terraform:
117118
create:
118-
inputs: *endpoint_properties
119+
# Occopus:
120+
# create:
121+
# inputs: *endpoint_properties
122+
# endpoint: ADD_YOUR_ENDPOINT (e.g https://ec2.eu-west-1.amazonaws.com )
119123

120124
outputs:
121125
ports:

0 commit comments

Comments
 (0)