Skip to content

Commit

Permalink
docs: update header for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-ng committed Aug 5, 2024
1 parent 7354123 commit 7c6cd9d
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
45 changes: 45 additions & 0 deletions examples/complete/.header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
### Example Variable Values

Here is an example of how to define the variable values in your `terraform.tfvars` file:

```hcl
vpc_id = "vpc-12345678"
public_subnet_ids = ["subnet-abcdef01", "subnet-abcdef02"]
private_subnet_ids = ["subnet-abcdef03", "subnet-abcdef04"]
kong_public_domain_name = "api.example.com"
kong_admin_domain_name = "admin-api.example.com"
rds_instance_class = "db.t3.medium"
db_max_allocated_storage = 100
manage_master_user_password = true
backup_retention_period = 7
deletion_protection = true
create_db_subnet_group = true
performance_insights_enabled = true
performance_insights_retention_period = 7
rds_db_tags = {
Environment = "production"
Team = "devops"
}
multi_az = true
backup_window = "07:00-09:00"
maintenance_window = "Mon:00:00-Mon:03:00"
cluster_name = "default"
ssl_policy = "ELBSecurityPolicy-2016-08"
container_image = "kong:2.5"
log_configuration_for_kong = {
log_driver = "awslogs"
options = {
"awslogs-group" = "/ecs/kong"
"awslogs-region" = "ap-south-1"
"awslogs-stream-prefix" = "kong"
}
}
cpu_for_kong_task = 512
memory_for_kong_task = 1024
desired_count_for_kong_service = 2
force_new_deployment = true
```

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.
13 changes: 13 additions & 0 deletions examples/minimal/.header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Example Variable Values

Here is an example of how to define the variable values in your `terraform.tfvars` file:

```hcl
vpc_id = "vpc-12345678"
public_subnet_ids = ["subnet-abcdef01", "subnet-abcdef02"]
private_subnet_ids = ["subnet-abcdef03", "subnet-abcdef04"]
kong_public_domain_name = "api.example.com"
kong_admin_domain_name = "admin-api.example.com"
```

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 comments on commit 7c6cd9d

Please sign in to comment.