We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce52818 commit 9de0081Copy full SHA for 9de0081
terraform-modules/aws/apigateway/vpc_link/main.tf
@@ -0,0 +1,26 @@
1
+variable "name" {
2
+ description = "The name of this vpc link"
3
+ type = string
4
+}
5
+
6
+variable "private_link_target_arns" {
7
+ description = "A list of strings of the LB arns to link the API Gateway to"
8
+ type = list(string)
9
10
11
+variable "tags" {
12
+ description = "Tags"
13
+ type = any
14
15
16
+resource "aws_api_gateway_vpc_link" "this" {
17
+ name = var.name
18
+ description = "VPC Link"
19
+ target_arns = var.private_link_target_arns
20
+ tags = var.tags
21
22
23
+output "id" {
24
+ value = aws_api_gateway_vpc_link.this.id
25
+ description = "Identifier of the VpcLink"
26
0 commit comments