Skip to content

Latest commit

 

History

History
101 lines (76 loc) · 1.54 KB

aws_wafv2_ip_set.md

File metadata and controls

101 lines (76 loc) · 1.54 KB

aws_wafv2_ip_set

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

module "aws_wafv2_ip_set" {
  source = "./modules/aws/d/aws_wafv2_ip_set"

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

top

Variables

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

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

top

Datasource

data "aws_wafv2_ip_set" "this" {
  # name - (required) is a type of string
  name = var.name
  # scope - (required) is a type of string
  scope = var.scope
}

top

Outputs

output "addresses" {
  description = "returns a set of string"
  value       = data.aws_wafv2_ip_set.this.addresses
}

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

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

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

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

output "this" {
  value = aws_wafv2_ip_set.this
}

top