Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.2 KB

aws_vpn_gateway_attachment.md

File metadata and controls

81 lines (60 loc) · 1.2 KB

aws_vpn_gateway_attachment

back

Index

Terraform

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

top

Example Usage

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

  # vpc_id - (required) is a type of string
  vpc_id = null
  # vpn_gateway_id - (required) is a type of string
  vpn_gateway_id = null
}

top

Variables

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

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

top

Resource

resource "aws_vpn_gateway_attachment" "this" {
  # vpc_id - (required) is a type of string
  vpc_id = var.vpc_id
  # vpn_gateway_id - (required) is a type of string
  vpn_gateway_id = var.vpn_gateway_id
}

top

Outputs

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

output "this" {
  value = aws_vpn_gateway_attachment.this
}

top