Skip to content

Commit

Permalink
chore: add minimal example
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul-4480 committed Aug 2, 2024
1 parent c2a8a0e commit 39d76b8
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
Empty file added examples/minimal/.header.md
Empty file.
9 changes: 9 additions & 0 deletions examples/minimal/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module "kong" {
source = "../../"

vpc_id = var.vpc_id
public_subnet_ids = var.public_subnet_ids
private_subnet_ids = var.private_subnet_ids
kong_public_domain_name = var.kong_public_domain_name
kong_admin_domain_name = var.kong_admin_domain_name
}
Empty file added examples/minimal/outputs.tf
Empty file.
24 changes: 24 additions & 0 deletions examples/minimal/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
variable "vpc_id" {
description = "The ID of the VPC"
type = string
}

variable "public_subnet_ids" {
description = "List of public subnet IDs"
type = list(string)
}

variable "private_subnet_ids" {
description = "List of private subnet IDs"
type = list(string)
}

variable "kong_public_domain_name" {
description = "The public domain name for Kong"
type = string
}

variable "kong_admin_domain_name" {
description = "The admin domain name for Kong"
type = string
}
3 changes: 3 additions & 0 deletions examples/minimal/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
terraform {
required_version = ">= 1.8.4"
}

0 comments on commit 39d76b8

Please sign in to comment.