Notifications
Clear all
Topic starter
13/07/2022 1:49 pm
Which flag would be used within a Terraform configuration block to identify the specific version of a provider required?
- A . required-provider
- B . required-version
- C . required_providers
- D . required_versions
Suggested Answer: C
Explanation:
For production use, you should constrain the acceptable provider versions via configuration file to ensure that new versions with breaking changes will not be automatically installed by terraform init in the future.
Example
terraform {
required_providers {
aws = ">= 2.7.0"
}
}
Explanation:
For production use, you should constrain the acceptable provider versions via configuration file to ensure that new versions with breaking changes will not be automatically installed by terraform init in the future.
Example
terraform {
required_providers {
aws = ">= 2.7.0"
}
}