Given the Terraform configuration below, in which order will the resources be created?

Given the Terraform configuration below, in which order will the resources be created?
1. resource “aws_instance” “web_server”
2. {
3. ami = “ami-b374d5a5”
4. instance_type = “t2.micro”
5. }
6. resource “aws_eip” “web_server_ip”
7. {
8. vpc = true instance = aws_instance.web_server.id
9. }
A. aws_eip will be created first aws_instance will be created second
B. aws_eip will be created first aws_instance will be created second
C. Resources will be created simultaneously
D. aws_instance will be created first aws_eip will be created second

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.