Terraform features per release
2021-04-28
A cheat sheet showing various terraform features introduced in different releases.
https://www.terraform.io/upgrade-guides/0-12.html
- Remote state references
- Attributes vs. blocks
- Integer vs. Float Number Types
- Referring to List Variables
- Reserved Variable Names
- Type Constraints on Variables
- Working with count on resources
- First-class expressions
- Default settings in connection blocks
- Equality operations must be valid on value and type
https://www.terraform.io/upgrade-guides/0-13.html
- Explicit Provider Source Locations
- New Filesystem Layout for Local Copies of Providers
- Destroy-time provisioners may not refer to other resources
- Data resource reads can no longer be disabled by
-refresh=false
- Meta-arguments for modules: count, for_each and depends_on
https://www.terraform.io/upgrade-guides/0-14.html
- Provider Dependency Lock File
- In-house providers and internal mirrors
- The local provider cache directory ~/terraform.d
- Concise Terraform Plan Output
- Sensitive Values in Plan Output - more extensive hiding
- Terraform Output Formatting - to match
terraform show
https://www.terraform.io/upgrade-guides/0-15.html
- Sensitive Output Values - require sensitive attribute in output values if they rely on other sensitive values
- Legacy Configuration Language Features - deprecated legacy 0.11 syntax
- Alternative Provider Configurations Within Modules
- Configuration Directory Argument chdir
- Interrupting with SIGINT will emit a non-successful exit code
- various command line behavior changes
- Azure Backend Removed Arguments