Which flag would be...
 
Notifications
Clear all

Which flag would be used within a Terraform configuration block to identify the specific version of a provider required?

1 Posts
1 Users
0 Likes
521 Views
(@casausisaiah)
Noble Member
Joined: 2 years ago
Posts: 710
Topic starter  

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

Show Answer Hide Answer

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"

}

}

   
Quote

Latest HashiCorp TA-002-P Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: