You are currently viewing Terraform Override

Terraform Override

Terraform Override

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed terraform provisioner.

https://cloudaffaire.com/terraform-provisioner/

In this blog post, we will discuss terraform override.

What is Terraform Override?

Terraform loads all configuration files within a directory and appends them together. Terraform also has a concept of overrides, a way to create files that are loaded last and merged into your configuration, rather than appended. Overrides names must be override or end in _override, excluding the extension. Examples of valid override files are override.tf, override.tf.json, temp_override.tf.

Terraform Override demo:

Hope you have enjoyed this article. In the next blog post, we will create a LAMP stack using terraform.

To get more details on terraform, please refer below terraform documentation

https://www.terraform.io/docs/index.html

 

Leave a Reply