diff --git a/1-getting-started/README.md b/1-getting-started/README.md index 8fa855a..3891fc7 100644 --- a/1-getting-started/README.md +++ b/1-getting-started/README.md @@ -118,6 +118,9 @@ Now lets run some code. First lets initialise our terraform/tofu environment: ```bash +cd 1-getting-started/code/ tofu init ``` +![tofu init output on screen](./img/tofu-init.png) + diff --git a/1-getting-started/code/variables.tf b/1-getting-started/code/variables.tf index e12bc5c..f7faf41 100644 --- a/1-getting-started/code/variables.tf +++ b/1-getting-started/code/variables.tf @@ -9,3 +9,28 @@ variable "environment" { type = string 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 = {} +} + diff --git a/1-getting-started/img/tofu-init.png b/1-getting-started/img/tofu-init.png new file mode 100644 index 0000000..25a4801 Binary files /dev/null and b/1-getting-started/img/tofu-init.png differ