Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.15 KB

aws_shield_protection.md

File metadata and controls

81 lines (60 loc) · 1.15 KB

aws_shield_protection

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

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

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

top

Resource

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

top

Outputs

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

output "this" {
  value = aws_shield_protection.this
}

top