Skip to content

Latest commit

 

History

History
88 lines (65 loc) · 1.43 KB

File metadata and controls

88 lines (65 loc) · 1.43 KB

google_netblock_ip_ranges

back

Index

Terraform

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

top

Example Usage

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

  # range_type - (optional) is a type of string
  range_type = null
}

top

Variables

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

top

Datasource

data "google_netblock_ip_ranges" "this" {
  # range_type - (optional) is a type of string
  range_type = var.range_type
}

top

Outputs

output "cidr_blocks" {
  description = "returns a list of string"
  value       = data.google_netblock_ip_ranges.this.cidr_blocks
}

output "cidr_blocks_ipv4" {
  description = "returns a list of string"
  value       = data.google_netblock_ip_ranges.this.cidr_blocks_ipv4
}

output "cidr_blocks_ipv6" {
  description = "returns a list of string"
  value       = data.google_netblock_ip_ranges.this.cidr_blocks_ipv6
}

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

output "this" {
  value = google_netblock_ip_ranges.this
}

top