fix variables in lab 1

This commit is contained in:
Ric Harvey 2024-04-16 15:28:54 +01:00
parent bdd349bdd3
commit b70b78f207
Signed by: ric
GPG key ID: 7FDEB4C0C7D5CB61
3 changed files with 28 additions and 0 deletions

View file

@ -118,6 +118,9 @@ Now lets run some code.
First lets initialise our terraform/tofu environment: First lets initialise our terraform/tofu environment:
```bash ```bash
cd 1-getting-started/code/
tofu init tofu init
``` ```
![tofu init output on screen](./img/tofu-init.png)

View file

@ -9,3 +9,28 @@ variable "environment" {
type = string type = string
default = "dev" default = "dev"
} }
variable "private_subnet_suffix" {
description = "Suffix to append to private subnets name"
type = string
default = "private-"
}
variable "public_subnet_suffix" {
description = "Suffix to append to public subnets name"
type = string
default = "public-"
}
variable "database_subnet_suffix" {
description = "Suffix to append to database subnets name"
type = string
default = "rds-"
}
variable "additional_tags" {
description = "Additional default resource tags"
type = map(string)
default = {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB