Choose the correct answer which fixes the syntax of the following Terraform code:

Choose the correct answer which fixes the syntax of the following Terraform code:
A . resource "aws_security_group" "vault_elb" {
name = "${var.name_prefix}-vault-elb"
description = var_Vault ELB
vpc_id = var.vpc_id
}
B . resource "aws_security_group" "vault_elb" {
name = "${var.name_prefix}-vault-elb"
description = Vault ELB
vpc_id = var.vpc_id
}
C . resource "aws_security_group" "vault_elb" {
name = "${var.name_prefix}-vault-elb"
description = "${Vault ELB}"
vpc_id = var.vpc_id
}
D . resource "aws_security_group" "vault_elb" {
name = "${var.name_prefix}-vault-elb"
description = [Vault ELB]
vpc_id = var.vpc_id
}
E . resource "aws_security_group" "vault_elb" {
name = "${var.name_prefix}-vault-elb"
description = "Vault ELB"
vpc_id = var.vpc_id
}

Answer: E

Explanation:

When assigning a value to an argument, it must be enclosed in quotes ("…") unless it is being generated programmatically.

Latest VA-002-P Dumps Valid Version with 200 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments