Módulo para gerenciamento de Networks para Google Cloud Platform
Example usage module:
terraform.tf
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "4.1.0"
}
}
}
provider "google" {
}
main.tf
module "network" {
source = "git@github.com:dihogoteixeira/mod-gcp-network.git?ref=v1.1"
name = "tf-network"
description = "Instanciando modulo com especifica"
project = "4linux-02-3445023"
auto_create_subnetworks = false
}
output.tf
output "gateway_ipv4" {
value = module.network.gateway_ipv4
}
output "self_link" {
value = module.network.self_link
}