Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

GoogleCloudPlatform/terraform-google-managed-instance-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Managed Instance Group Terraform Module

NOTE: This module is no longer maintained. Please use this module instead.

Modular Google Compute Engine managed instance group for Terraform.

Usage

module "mig1" {
  source            = "GoogleCloudPlatform/managed-instance-group/google"
  version           = "1.1.14"
  region            = "${var.region}"
  zone              = "${var.zone}"
  name              = "group1"
  size              = 2
  service_port      = 80
  service_port_name = "http"
  http_health_check = false
  target_pools      = ["${module.gce-lb-fr.target_pool}"]
  target_tags       = ["allow-service1"]
  ssh_source_ranges = ["0.0.0.0/0"]
}

NOTE: Make sure you are using version pinning to avoid unexpected changes when the module is updated.

Resources created