You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Private: always # always | true | false - Always will default place in private subnet, true will place in private subnet if tag `private=true` present on workflow, false will place in public subnet
71
+
AppCPU: 256
72
+
AppMemory: 512
73
+
EmailAddress: developer@cloudposse.com
74
+
# Environments let you run multiple Stacks in one organization and segregate resources.
75
+
# If you specify an environment, then all the jobs must also specify the which environment they are running in.
76
+
# To keep things simple, we use the default environment ("production") and leave the `env` label unset in the workflow.
77
+
EncryptEbs: true
78
+
# With the default value of SSHAllowed: true, the runners that are placed in a public subnet
79
+
# will allow ingress on port 22. This is highly abused (scanners running constantly looking for vulernable SSH servers)
80
+
# and should not be allowed. If you need access to the runners, use Session Manager (SSM).
81
+
SSHAllowed: false
82
+
LicenseKey: <LICENSE_KEY>
83
+
Private: false # always | true | false - Always will default place in private subnet, true will place in private subnet if tag `private=true` present on workflow, false will place in public subnet
84
+
RunnerLargeDiskSize: 120 # Disk size in GB for disk=large runners
85
+
Ec2LogRetentionInDays: 30
86
+
VpcFlowLogRetentionInDays: 14
76
87
```
77
88
78
89
79
-
### Embedded networking
90
+
### Embedded networking (Runs On managed VPC)
80
91
81
92
When no VPC details are set, the component will create a new VPC and subnets for you. This is done via the CloudFormation template.
82
93
@@ -102,7 +113,49 @@ description: |-
102
113
parameters:
103
114
VpcCidrBlock: 10.100.0.0/16
104
115
```
105
-
### (DEPRECATED) Configuring with Transit Gateway
116
+
117
+
### External networking (Use existing VPC)
118
+
119
+
When you want to use an existing VPC, you can set the `vpc_id`, `subnet_ids`, and `security_group_id` variables.
120
+
121
+
(`_defaults.yaml`)
122
+
123
+
```yaml
124
+
terraform:
125
+
hooks:
126
+
store-outputs:
127
+
name: auto/ssm
128
+
```
129
+
130
+
(`runs-on.yaml`)
131
+
132
+
```yaml
133
+
import:
134
+
- orgs/acme/core/auto/_defaults
135
+
- mixins/region/us-east-1
136
+
- catalog/vpc/defaults
137
+
- catalog/runs-on/defaults
138
+
139
+
components:
140
+
terraform:
141
+
runs-on:
142
+
metadata:
143
+
inherits:
144
+
- runs-on/defaults
145
+
component: runs-on
146
+
vars:
147
+
networking_stack: external
148
+
# There are other ways to get the vpc_id, subnet_ids, and security_group_id. You can
0 commit comments