Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam VA-002-P Topic 5 Question 51 Discussion

Actual exam question for HashiCorp's VA-002-P exam
Question #: 51
Topic #: 5
[All VA-002-P Questions]

When using constraint expressions to signify a version of a provider, which of the following are valid provider versions that satisfy the expression found in the following code snippet: (select two)

1. terraform {

2. required_providers {

3. aws = "~> 1.2.0"

4. }

5. }

Show Suggested Answer Hide Answer
Suggested Answer: A, D

~> 1.2.0 will match any non-beta version of the provider between >= 1.2.0 and < 1.3.0. For example, 1.2.X

https://www.terraform.io/docs/configuration/modules.html#gt-1-2-0-1


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel