Skip to content

Commit 39d76b8

Browse files
committed
chore: add minimal example
1 parent c2a8a0e commit 39d76b8

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

examples/minimal/.header.md

Whitespace-only changes.

examples/minimal/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module "kong" {
2+
source = "../../"
3+
4+
vpc_id = var.vpc_id
5+
public_subnet_ids = var.public_subnet_ids
6+
private_subnet_ids = var.private_subnet_ids
7+
kong_public_domain_name = var.kong_public_domain_name
8+
kong_admin_domain_name = var.kong_admin_domain_name
9+
}

examples/minimal/outputs.tf

Whitespace-only changes.

examples/minimal/variables.tf

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
variable "vpc_id" {
2+
description = "The ID of the VPC"
3+
type = string
4+
}
5+
6+
variable "public_subnet_ids" {
7+
description = "List of public subnet IDs"
8+
type = list(string)
9+
}
10+
11+
variable "private_subnet_ids" {
12+
description = "List of private subnet IDs"
13+
type = list(string)
14+
}
15+
16+
variable "kong_public_domain_name" {
17+
description = "The public domain name for Kong"
18+
type = string
19+
}
20+
21+
variable "kong_admin_domain_name" {
22+
description = "The admin domain name for Kong"
23+
type = string
24+
}

examples/minimal/versions.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
terraform {
2+
required_version = ">= 1.8.4"
3+
}

0 commit comments

Comments
 (0)