Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
gitlab-com
gitlab-com-infrastructure
Commits
e783e83c
Commit
e783e83c
authored
May 17, 2018
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jarv/allow-terminate' into 'master'
Allow terminate for bastion. See merge request
!373
parents
b9d06a85
79fa8107
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
environments/ops/main.tf
environments/ops/main.tf
+19
-18
No files found.
environments/ops/main.tf
View file @
e783e83c
...
...
@@ -238,22 +238,23 @@ module "performance" {
##################################
module
"bastion"
{
bootstrap_version
=
4
chef_provision
=
"
${
var
.
chef_provision
}
"
chef_run_list
=
"
\"
role[
${
var
.
environment
}
-base-bastion]
\"
"
dns_zone_name
=
"
${
var
.
dns_zone_name
}
"
environment
=
"
${
var
.
environment
}
"
health_check
=
"tcp"
ip_cidr_range
=
"
${
var
.
subnetworks
[
"bastion"
]
}
"
machine_type
=
"
${
var
.
machine_types
[
"bastion"
]
}
"
name
=
"bastion"
node_count
=
"
${
var
.
node_count
[
"bastion"
]
}
"
project
=
"
${
var
.
project
}
"
public_ports
=
"
${
var
.
public_ports
[
"bastion"
]
}
"
region
=
"
${
var
.
region
}
"
service_account_email
=
"
${
var
.
service_account_email
}
"
service_port
=
22
source
=
"../../modules/google/generic-sv-with-group"
tier
=
"inf"
vpc
=
"
${module
.
network
.
self_link
}
"
allow_stopping_for_update
=
true
bootstrap_version
=
4
chef_provision
=
"
${
var
.
chef_provision
}
"
chef_run_list
=
"
\"
role[
${
var
.
environment
}
-base-bastion]
\"
"
dns_zone_name
=
"
${
var
.
dns_zone_name
}
"
environment
=
"
${
var
.
environment
}
"
health_check
=
"tcp"
ip_cidr_range
=
"
${
var
.
subnetworks
[
"bastion"
]
}
"
machine_type
=
"
${
var
.
machine_types
[
"bastion"
]
}
"
name
=
"bastion"
node_count
=
"
${
var
.
node_count
[
"bastion"
]
}
"
project
=
"
${
var
.
project
}
"
public_ports
=
"
${
var
.
public_ports
[
"bastion"
]
}
"
region
=
"
${
var
.
region
}
"
service_account_email
=
"
${
var
.
service_account_email
}
"
service_port
=
22
source
=
"../../modules/google/generic-sv-with-group"
tier
=
"inf"
vpc
=
"
${module
.
network
.
self_link
}
"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment