Skip to content

Commit 7c6cd9d

Browse files
author
rohit-ng
committed
docs: update header for examples
1 parent 7354123 commit 7c6cd9d

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

examples/complete/.header.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
### Example Variable Values
2+
3+
Here is an example of how to define the variable values in your `terraform.tfvars` file:
4+
5+
```hcl
6+
vpc_id = "vpc-12345678"
7+
public_subnet_ids = ["subnet-abcdef01", "subnet-abcdef02"]
8+
private_subnet_ids = ["subnet-abcdef03", "subnet-abcdef04"]
9+
kong_public_domain_name = "api.example.com"
10+
kong_admin_domain_name = "admin-api.example.com"
11+
12+
rds_instance_class = "db.t3.medium"
13+
db_max_allocated_storage = 100
14+
manage_master_user_password = true
15+
backup_retention_period = 7
16+
deletion_protection = true
17+
create_db_subnet_group = true
18+
performance_insights_enabled = true
19+
performance_insights_retention_period = 7
20+
rds_db_tags = {
21+
Environment = "production"
22+
Team = "devops"
23+
}
24+
multi_az = true
25+
backup_window = "07:00-09:00"
26+
maintenance_window = "Mon:00:00-Mon:03:00"
27+
28+
cluster_name = "default"
29+
ssl_policy = "ELBSecurityPolicy-2016-08"
30+
container_image = "kong:2.5"
31+
log_configuration_for_kong = {
32+
log_driver = "awslogs"
33+
options = {
34+
"awslogs-group" = "/ecs/kong"
35+
"awslogs-region" = "ap-south-1"
36+
"awslogs-stream-prefix" = "kong"
37+
}
38+
}
39+
cpu_for_kong_task = 512
40+
memory_for_kong_task = 1024
41+
desired_count_for_kong_service = 2
42+
force_new_deployment = true
43+
```
44+
45+
Place this `terraform.tfvars` file in the same directory as your Terraform configuration to automatically load these values. Adjust the values as needed to fit your specific environment and requirements.

examples/minimal/.header.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Example Variable Values
2+
3+
Here is an example of how to define the variable values in your `terraform.tfvars` file:
4+
5+
```hcl
6+
vpc_id = "vpc-12345678"
7+
public_subnet_ids = ["subnet-abcdef01", "subnet-abcdef02"]
8+
private_subnet_ids = ["subnet-abcdef03", "subnet-abcdef04"]
9+
kong_public_domain_name = "api.example.com"
10+
kong_admin_domain_name = "admin-api.example.com"
11+
```
12+
13+
Place this `terraform.tfvars` file in the same directory as your Terraform configuration to automatically load these values. Adjust the values as needed to fit your specific environment and requirements.

0 commit comments

Comments
 (0)