BlackFriday 2024! 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 2 Question 19 Discussion

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

In the example below, the depends_on argument creates what type of dependency?

1. esource "aws_instance" "example" {

2. ami = "ami-2757f631"

3. instance_type = "t2.micro"

4. depends_on = [aws_s3_bucket.company_data]

5. }

Show Suggested Answer Hide Answer
Suggested Answer: C

Sometimes there are dependencies between resources that are not visible to Terraform. The depends_on argument is accepted by any resource and accepts a list of resources to create explicit dependencies for.


Contribute your Thoughts:

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


Save Cancel