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 43 Discussion

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

In the example below, where is the value of the DNS record's IP address originating from?

1. resource "aws_route53_record" "www" {

2. zone_id = aws_route53_zone.primary.zone_id

4. type = "A"

5. ttl = "300"

6. records = [module.web_server.instance_ip_addr]

7. }

Show Suggested Answer Hide Answer
Suggested Answer: B

In a parent module, outputs of child modules are available in expressions as module.<MODULE NAME>.<OUTPUT NAME>. For example, if a child module named web_server declared an output named instance_ip_addr, you could access that value as module.web_server.instance_ip_addr.


Contribute your Thoughts:

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


Save Cancel