Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Devops
  3. Question
Devops

How to utilize Boolean variables to backup resources in Terraform?

Asked by Daniel Monteiro Nov 27, 2023 646 views 1 answer
Share

About this question

In the context of terraform configuration, I have a module that provisions virtual machines. Among these modules, there is a module Boolean variable named “ enable_ backup”. How can I utilize this boolean variable to include or exclude the backup resources block within the module? 

Your answer

1 Answer

More Devops discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.