DevOps > Terraform > Flashcards
How to check if a variable has a certain value?
count = contains([“na”,”qa”], terraform.workspace) ? 1 : 0
define the backend
terraform { required_version = "0.12.30" backend "s3" { } }
provider “aws” {region=”us-east-1”}