HashiCorp VA-002-P Question Answer
From the code below, identify the implicit dependency:
1. resource "aws_eip" "public_ip" {
2. vpc = true
3. instance = aws_instance.web_server.id
4. }
5. resource "aws_instance" "web_server" {
6. ami = "ami-2757f631"
7. instance_type = "t2.micro"
8. depends_on = [aws_s3_bucket.company_data]
9. }
HashiCorp VA-002-P Summary
- Vendor: HashiCorp
- Product: VA-002-P
- Update on: Oct 24, 2025
- Questions: 200

