Skip to content

Latest commit

 

History

History
137 lines (104 loc) · 2.48 KB

gridscale_firewall.md

File metadata and controls

137 lines (104 loc) · 2.48 KB

gridscale_firewall

back

Index

Terraform

terraform {
  required_providers {
    gridscale = ">= 1.8.4"
  }
}

top

Example Usage

module "gridscale_firewall" {
  source = "./modules/gridscale/d/gridscale_firewall"

  # resource_id - (required) is a type of string
  resource_id = null
}

top

Variables

variable "resource_id" {
  description = "(required) - ID of a resource"
  type        = string
}

top

Datasource

data "gridscale_firewall" "this" {
  # resource_id - (required) is a type of string
  resource_id = var.resource_id
}

top

Outputs

output "change_time" {
  description = "returns a string"
  value       = data.gridscale_firewall.this.change_time
}

output "create_time" {
  description = "returns a string"
  value       = data.gridscale_firewall.this.create_time
}

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

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

output "labels" {
  description = "returns a set of string"
  value       = data.gridscale_firewall.this.labels
}

output "location_name" {
  description = "returns a string"
  value       = data.gridscale_firewall.this.location_name
}

output "name" {
  description = "returns a string"
  value       = data.gridscale_firewall.this.name
}

output "network" {
  description = "returns a set of object"
  value       = data.gridscale_firewall.this.network
}

output "private" {
  description = "returns a bool"
  value       = data.gridscale_firewall.this.private
}

output "rules_v4_in" {
  description = "returns a list of object"
  value       = data.gridscale_firewall.this.rules_v4_in
}

output "rules_v4_out" {
  description = "returns a list of object"
  value       = data.gridscale_firewall.this.rules_v4_out
}

output "rules_v6_in" {
  description = "returns a list of object"
  value       = data.gridscale_firewall.this.rules_v6_in
}

output "rules_v6_out" {
  description = "returns a list of object"
  value       = data.gridscale_firewall.this.rules_v6_out
}

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

output "this" {
  value = gridscale_firewall.this
}

top