Skip to content

Latest commit

 

History

History
102 lines (77 loc) · 1.69 KB

File metadata and controls

102 lines (77 loc) · 1.69 KB

google_compute_global_address

back

Index

Terraform

terraform {
  required_providers {
    google-beta = ">= 3.63.0"
  }
}

top

Example Usage

module "google_compute_global_address" {
  source = "./modules/google-beta/d/google_compute_global_address"

  # name - (required) is a type of string
  name = null
  # project - (optional) is a type of string
  project = null
}

top

Variables

variable "name" {
  description = "(required)"
  type        = string
}

variable "project" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Datasource

data "google_compute_global_address" "this" {
  # name - (required) is a type of string
  name = var.name
  # project - (optional) is a type of string
  project = var.project
}

top

Outputs

output "address" {
  description = "returns a string"
  value       = data.google_compute_global_address.this.address
}

output "id" {
  description = "returns a string"
  value       = data.google_compute_global_address.this.id
}

output "project" {
  description = "returns a string"
  value       = data.google_compute_global_address.this.project
}

output "self_link" {
  description = "returns a string"
  value       = data.google_compute_global_address.this.self_link
}

output "status" {
  description = "returns a string"
  value       = data.google_compute_global_address.this.status
}

output "this" {
  value = google_compute_global_address.this
}

top