back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_wafregional_rule" {
source = "./modules/aws/d/aws_wafregional_rule"
# name - (required) is a type of string
name = null
}
top
variable "name" {
description = "(required)"
type = string
}
top
data "aws_wafregional_rule" "this" {
# name - (required) is a type of string
name = var.name
}
top
output "id" {
description = "returns a string"
value = data.aws_wafregional_rule.this.id
}
output "this" {
value = aws_wafregional_rule.this
}
top