QuestionQ145

Terraform modules

When a module block in your configuration refers to a module from the Terraform Registry, the version attribute is mandatory.

  • A True
  • B False
Explanation

For a module sourced from a Terraform Registry, the version argument is optional and defaults to the latest available version when omitted. Terraform recommends specifying a version constraint for predictable module updates, but it is not required.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!