Add required_providers to set minimum versions (#464)

This commit is contained in:
Daniel Piddock
2019-08-06 17:46:48 +02:00
committed by Max Williams
parent 630a0cc3fb
commit ac62edc872
2 changed files with 8 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
### Added
- Write your awesome addition here (by @you)
- Added `required_providers` to enforce provider minimum versions (by @dpiddockcmp)
### Changed

View File

@@ -1,4 +1,10 @@
terraform {
required_version = ">= 0.12"
required_providers {
aws = ">= 2.8"
local = ">= 1.2"
null = ">= 2.1"
template = ">= 2.1"
}
}