Terraform Workspaces
A single directory can be associated with multiple workspaces. Workspaces can also contain Tags.
Terrateam workspaces correspond to Terraform workspaces and will automatically be created if they do not already exist.
dirs:
ec2/us-east-1:
tags: [ec2, us-east-1]
workspaces:
development:
tags: [development]
production:
tags: [production]
Run operations against the development
workspace and disable the default
workspace:
dirs:
ec2/us-east-1:
workspaces:
default:
when_modified:
file_patterns: []
ec2/us-east-1:
workspaces:
development:
when_modified:
file_patterns: ["ec2/us-east-1/*.tf"]