Skip to content

Latest commit

 

History

History
106 lines (81 loc) · 1.85 KB

aws_route53_resolver_query_log_config.md

File metadata and controls

106 lines (81 loc) · 1.85 KB

aws_route53_resolver_query_log_config

back

Index

Terraform

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

top

Example Usage

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

  # destination_arn - (required) is a type of string
  destination_arn = null
  # name - (required) is a type of string
  name = null
  # tags - (optional) is a type of map of string
  tags = {}
}

top

Variables

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

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

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

top

Resource

resource "aws_route53_resolver_query_log_config" "this" {
  # destination_arn - (required) is a type of string
  destination_arn = var.destination_arn
  # name - (required) is a type of string
  name = var.name
  # tags - (optional) is a type of map of string
  tags = var.tags
}

top

Outputs

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

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

output "owner_id" {
  description = "returns a string"
  value       = aws_route53_resolver_query_log_config.this.owner_id
}

output "share_status" {
  description = "returns a string"
  value       = aws_route53_resolver_query_log_config.this.share_status
}

output "this" {
  value = aws_route53_resolver_query_log_config.this
}

top