-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Closed
Labels
Description
Current Terraform Version
0.14.5
Use-cases
- Constraining variables against Terraform workspaces
- Constraining variables against content in configuration files, e.g. ensuring a value exists in a YAML or JSON file within the module directory
Attempted Solutions
- no workarounds for terraform.workspace
- path.module can be omitted when referencing a file but can lead to unexpected results if the module doesn't lie within the working directory
Proposal
The good references check should exempt magic variables (path.*, terraform.workspace, etc.)
References
bschaeffer, JBOClara, azman0101, oxalide-mp-tech, slashetc and 5 more