Hashicorp Terraform Associate
UPDATED Questions and
CORRECT Answers
Save
Terms in this set (27)
,What command terraform state show
can you use to aws_internet_gateway.demo
display details
about the
resource as
shown below?
resource
"aws_internet_ga
teway" "demo" {
vpc_id =
aws_vpc.vpc.id
tags = {
Name =
"demo_igw"
}
}
, Your terraform apply -refresh-only
organization has
multiple "To instruct Terraform to refresh the
engineers that state file based on the current
have permission configuration of managed
to manage resources, you can use the
Terraform as terraform apply -refresh-only
well as command. If Terraform discovers
administrative drift, it will update the state file with
access to the the changes."
public cloud
where these
resources are
provisioned. If
an engineer
makes a change
outside of
Terraform, what
command can
you run to
detect drift and
update the state
file?
UPDATED Questions and
CORRECT Answers
Save
Terms in this set (27)
,What command terraform state show
can you use to aws_internet_gateway.demo
display details
about the
resource as
shown below?
resource
"aws_internet_ga
teway" "demo" {
vpc_id =
aws_vpc.vpc.id
tags = {
Name =
"demo_igw"
}
}
, Your terraform apply -refresh-only
organization has
multiple "To instruct Terraform to refresh the
engineers that state file based on the current
have permission configuration of managed
to manage resources, you can use the
Terraform as terraform apply -refresh-only
well as command. If Terraform discovers
administrative drift, it will update the state file with
access to the the changes."
public cloud
where these
resources are
provisioned. If
an engineer
makes a change
outside of
Terraform, what
command can
you run to
detect drift and
update the state
file?