nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #252

TERRAFORM-ASSOCIATE-004 Question #252: Real Exam Question with Answer & Explanation

The correct answer is C: version = ">= 3.1". Version constraints must be specified with = and quotes, e.g.: version = ">= 3.1" This ensures compatibility with Terraform's syntax.

Submitted by mateo_ar· Apr 18, 2026Understand Terraform Providers

Question

Which of the following should you add in the required_providers block to define a provider version constraint?

Options

  • Aversion ~> 3.1
  • Bversion >= 3.1
  • Cversion = ">= 3.1"

Explanation

Version constraints must be specified with = and quotes, e.g.: version = ">= 3.1" This ensures compatibility with Terraform's syntax.

Topics

#Provider version constraints#required_providers block#Terraform configuration syntax

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions