Skip to content

Latest commit

 

History

History
107 lines (81 loc) · 1.76 KB

aws_api_gateway_vpc_link.md

File metadata and controls

107 lines (81 loc) · 1.76 KB

aws_api_gateway_vpc_link

back

Index

Terraform

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

top

Example Usage

module "aws_api_gateway_vpc_link" {
  source = "./modules/aws/d/aws_api_gateway_vpc_link"

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

top

Variables

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

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

top

Datasource

data "aws_api_gateway_vpc_link" "this" {
  # 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 "description" {
  description = "returns a string"
  value       = data.aws_api_gateway_vpc_link.this.description
}

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

output "status" {
  description = "returns a string"
  value       = data.aws_api_gateway_vpc_link.this.status
}

output "status_message" {
  description = "returns a string"
  value       = data.aws_api_gateway_vpc_link.this.status_message
}

output "tags" {
  description = "returns a map of string"
  value       = data.aws_api_gateway_vpc_link.this.tags
}

output "target_arns" {
  description = "returns a set of string"
  value       = data.aws_api_gateway_vpc_link.this.target_arns
}

output "this" {
  value = aws_api_gateway_vpc_link.this
}

top