Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.23 KB

aws_wafv2_web_acl_association.md

File metadata and controls

81 lines (60 loc) · 1.23 KB

aws_wafv2_web_acl_association

back

Index

Terraform

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

top

Example Usage

module "aws_wafv2_web_acl_association" {
  source = "./modules/aws/r/aws_wafv2_web_acl_association"

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

top

Variables

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

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

top

Resource

resource "aws_wafv2_web_acl_association" "this" {
  # resource_arn - (required) is a type of string
  resource_arn = var.resource_arn
  # web_acl_arn - (required) is a type of string
  web_acl_arn = var.web_acl_arn
}

top

Outputs

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

output "this" {
  value = aws_wafv2_web_acl_association.this
}

top