From 839d92db29609fc0b7aa50a287ee9c7abdc46b5c Mon Sep 17 00:00:00 2001 From: Kavish Baghel Date: Thu, 12 Sep 2024 15:35:37 +0530 Subject: [PATCH] Added content for Environment Variable and Validation Rules in Terraform Roadmap (#7084) * Added content for Environment variables in terraform roadmap * Added content for validation rules in Terraform roadmap --- .../environment-variables@fm8oUyNvfdGWTgLsYANUr.md | 8 +++++++- .../content/validation-rules@U2n2BtyUrOFLnw9SZYV_w.md | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/data/roadmaps/terraform/content/environment-variables@fm8oUyNvfdGWTgLsYANUr.md b/src/data/roadmaps/terraform/content/environment-variables@fm8oUyNvfdGWTgLsYANUr.md index be8e682f7..e6502f208 100644 --- a/src/data/roadmaps/terraform/content/environment-variables@fm8oUyNvfdGWTgLsYANUr.md +++ b/src/data/roadmaps/terraform/content/environment-variables@fm8oUyNvfdGWTgLsYANUr.md @@ -1 +1,7 @@ -# Environment Variables \ No newline at end of file +# Environment Variables + +Environment variables can be used to customize various aspects of Terraform. You can set these variables to change the default behaviour of terraform such as increase verbosity, update log file path, set workspace, etc. Envrionment variables are optional and terraform does not need them by default. + +Learn more from the following resources: + +- [@official@Environment Variables](https://developer.hashicorp.com/terraform/cli/config/environment-variables) \ No newline at end of file diff --git a/src/data/roadmaps/terraform/content/validation-rules@U2n2BtyUrOFLnw9SZYV_w.md b/src/data/roadmaps/terraform/content/validation-rules@U2n2BtyUrOFLnw9SZYV_w.md index 2e99cd443..5eb3f5d3d 100644 --- a/src/data/roadmaps/terraform/content/validation-rules@U2n2BtyUrOFLnw9SZYV_w.md +++ b/src/data/roadmaps/terraform/content/validation-rules@U2n2BtyUrOFLnw9SZYV_w.md @@ -1 +1,7 @@ -# Validation Rules \ No newline at end of file +# Validation Rules + +Validation rules can be used to specify custom validations to a variable. The motive of adding validation rules is to make the variable comply with the rules. The validation rules can be added using a `validation` block. + +Learn more from the following resources: + +- [@offical@Custom Validation Rules](https://developer.hashicorp.com/terraform/language/values/variables#custom-validation-rules) \ No newline at end of file