Name: terraform-google-managed-instance-group
Owner: Google Cloud Platform
Description: Modular Google Compute Engine managed instance group for Terraform.
Created: 2017-08-28 16:15:59.0
Updated: 2018-05-18 02:29:37.0
Pushed: 2018-05-15 04:54:41.0
Size: 52
Language: HCL
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Modular Google Compute Engine managed instance group for Terraform.
"template_file" "php-startup-script" {
mplate = "${file("${format("%s/../scripts/gceme.sh.tpl", path.module)}")}"
rs {
PROXY_PATH = ""
le "mig1" {
urce = "GoogleCloudPlatform/managed-instance-group/google#v1.1.7"
rsion = "1.1.7"
gion = "${var.region}"
ne = "${var.zone}"
me = "group1"
ze = 2
rvice_port = 80
rvice_port_name = "http"
rget_pools = ["${module.gce-lb-fr.target_pool}"]
rget_tags = ["allow-service1"]
artup_script = "${data.template_file.php-startup-script.rendered}"
h_source_ranges = ["0.0.0.0/0"]
NOTE: Make sure you are using version pinning to avoid unexpected changes when the module is updated.
google_compute_instance_template.default
: The instance template assigned to the instance group.google_compute_instance_group_manager.default
: The instange group manager that uses the instance template and target pools.google_compute_firewall.default-ssh
: Firewall rule to allow ssh access to the instances.