ExamGecko
Question list
Search
Search

Question 126 - Terraform Associate 003 discussion

Report
Export

One remote backend configuration always maps to a single remote workspace.

A.
True
Answers
A.
True
B.
False
Answers
B.
False
Suggested answer: A

Explanation:

The remote backend can work with either a single remote Terraform Cloud workspace, or with multiple similarly-named remote workspaces (like networking-dev and networking-prod). The workspaces block of the backend configuration determines which mode it uses. To use a single remote Terraform Cloud workspace, set workspaces.name to the remote workspace's full name (like networking-prod). To use multiple remote workspaces, set workspaces.prefix to a prefix used in all of the desired remote workspace names. For example, set prefix = ''networking-'' to use Terraform cloud workspaces with names like networking-dev and networking-prod.This is helpful when mapping multiple Terraform CLI workspaces used in a single Terraform configuration to multiple Terraform Cloud workspaces3. However, one remote backend configuration always maps to a single remote workspace, either by name or by prefix. You cannot use both name and prefix in the same backend configuration, or omit both.Doing so will result in a configuration error3.Reference= [Backend Type: remote]3

asked 18/09/2024
KOSSIBA LANTONKPODE
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first