cert
cert-1
cert-2

Pass HashiCorp Terraform Associate Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
Terraform Associate Exam - Verified By Experts
Terraform Associate Premium Bundle
$29.98

Terraform Associate Premium Bundle

$79.99
$109.97
  • Premium File 356 Questions & Answers. Last update: Nov 21, 2026
  • Training Course 78 Video Lectures
  • Study Guide 476 Pages
 
$109.97
$79.99
accept 10 downloads in last 7 days
block-screenshots
Purchase HashiCorp Terraform Associate Exam Training Products Individually
HashiCorp Terraform Associate Premium File
Premium File 356 Q&A
$76.99$69.99
HashiCorp Terraform Associate Video Training Course
Training Course 78 Lectures
$21.99 $19.99
HashiCorp Terraform Associate PDF Study Guide
Study Guide 476 Pages
$21.99 $19.99
HashiCorp Terraform Associate Practice Test 50

Question 490

A developer sets sensitive = true on a variable containing a database password and assumes Terraform will never store that secret in state or plan files. The team has implemented an approved Terraform change. Which observed result most directly confirms that the original requirement is now met, beyond a successful command exit code?

  1. Terraform plans creation of the intended network rather than failing a lookup.
  2. Downstream automation receives only the documented subnet identifier.
  3. Secrets are handled under encrypted restricted state controls with understood redaction limits.
  4. The migration preserves availability without impossible duplicate naming.

Explanation

Correct Answer

C:

This is the appropriate measurable post-change acceptance criterion: Secrets are handled under encrypted restricted state controls with understood redaction limits. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Use Vault or ephemeral/write-only techniques where supported and rotate exposed values.

Incorrect Answers

A:

“Terraform plans creation of the intended network rather than failing a lookup” would address a different Terraform configuration concern; the source instead describes A developer sets sensitive = true on a variable containing a database password and assumes Terraform will never store that secret in state or plan files. The appropriate design is to treat sensitive as output redaction rather than encryption or state omission and protect state plus plan artifacts. Confirm whether secrets are handled under encrypted restricted state controls with understood redaction limits.

B:

“Downstream automation receives only the documented subnet identifier” would address a different Terraform configuration concern; the source instead describes A developer sets sensitive = true on a variable containing a database password and assumes Terraform will never store that secret in state or plan files. The appropriate design is to treat sensitive as output redaction rather than encryption or state omission and protect state plus plan artifacts. Confirm whether secrets are handled under encrypted restricted state controls with understood redaction limits.

D:

“The migration preserves availability without impossible duplicate naming” would address a different Terraform configuration concern; the source instead describes A developer sets sensitive = true on a variable containing a database password and assumes Terraform will never store that secret in state or plan files. The appropriate design is to treat sensitive as output redaction rather than encryption or state omission and protect state plus plan artifacts. Confirm whether secrets are handled under encrypted restricted state controls with understood redaction limits.

Question 491

An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?

  1. Use a resource or data-source precondition where appropriate to enforce the required operational invariant.
  2. Return type-compatible collection values from both branches and define a constrained variable interface.
  3. Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence.
  4. Use a dynamic block only when the provider resource schema accepts that repeated nested block type.

Explanation

Correct Answer

C:

The proposed intervention addresses the reported Terraform engineering failure: An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. It applies the design choice Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Review the primary diagnostic: Inspect Vault policy and authentication method for the deployment identity. The expected outcome is: The job obtains appropriately scoped credentials without hardcoded committed secrets. The rollout safeguard is: Verify Vault token lifecycle and any provider data-source state exposure.

Incorrect Answers

A:

“Use a resource or data-source precondition where appropriate to enforce the required operational invariant” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

B:

“Return type-compatible collection values from both branches and define a constrained variable interface” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

D:

“Use a dynamic block only when the provider resource schema accepts that repeated nested block type” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

Question 492

An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. Before choosing a remedy, the team needs independent evidence of the actual root cause. Which TWO checks most directly test this case? (Select TWO.)

  1. Inspect the actual computed output and supported condition context.
  2. Inspect the module's internal resource address and public outputs.
  3. Inspect Vault policy and authentication method for the deployment identity.
  4. Inspect which map keys are required versus optional.
  5. Review where the retrieved secret is consumed and whether it lands in state.

Explanation

Correct Answers

C:

This is directly relevant evidence for the reported behavior: Inspect Vault policy and authentication method for the deployment identity. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. The expected confirmation is The job obtains appropriately scoped credentials without hardcoded committed secrets.

E:

This is directly relevant evidence for the reported behavior: Review where the retrieved secret is consumed and whether it lands in state. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. The expected confirmation is The job obtains appropriately scoped credentials without hardcoded committed secrets.

Incorrect Answers

A:

“Inspect the actual computed output and supported condition context” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

B:

“Inspect the module's internal resource address and public outputs” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

D:

“Inspect which map keys are required versus optional” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

Question 493

An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?

  1. Unprotected secret files can expose long-lived production access.
  2. Mis-scoped iteration expressions can prevent planning.
  3. Loose or wrong type assumptions can create invalid network rules.
  4. A lifecycle rule is not a comprehensive cloud deletion protection.

Explanation

Correct Answer

A:

The reported condition creates the specific potential exposure: Unprotected secret files can expose long-lived production access. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Inspect Vault policy and authentication method for the deployment identity. Second diagnostic: Review where the retrieved secret is consumed and whether it lands in state.

Incorrect Answers

B:

“Mis-scoped iteration expressions can prevent planning” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

C:

“Loose or wrong type assumptions can create invalid network rules” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

D:

“A lifecycle rule is not a comprehensive cloud deletion protection” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

Question 494

An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)

  1. Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence.
  2. Use provider safeguards and backups in addition to plan checks.
  3. Pass the input explicitly in the module call and validate the child's required variable contract.
  4. Verify Vault token lifecycle and any provider data-source state exposure.
  5. Check planned dependencies and verify ingress connectivity after apply.

Explanation

Correct Answers

A:

This is one of the two necessary decisions for a safe design: Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Together the corrective action and its implementation safeguard need to address the recorded condition: An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. Acceptance requires The job obtains appropriately scoped credentials without hardcoded committed secrets.

D:

This is one of the two necessary decisions for a safe design: Verify Vault token lifecycle and any provider data-source state exposure. Together the corrective action and its implementation safeguard need to address the recorded condition: An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. Acceptance requires The job obtains appropriately scoped credentials without hardcoded committed secrets.

Incorrect Answers

B:

“Use provider safeguards and backups in addition to plan checks” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

C:

“Pass the input explicitly in the module call and validate the child's required variable contract” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

E:

“Check planned dependencies and verify ingress connectivity after apply” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

Question 495

An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The team has implemented an approved Terraform change. Which observed result most directly confirms that the original requirement is now met, beyond a successful command exit code?

  1. Either branch produces a consistent list suitable for downstream resources.
  2. Secrets are handled under encrypted restricted state controls with understood redaction limits.
  3. The monitor is created after its required registration while unrelated actions remain parallel.
  4. The job obtains appropriately scoped credentials without hardcoded committed secrets.

Explanation

Correct Answer

D:

This is the appropriate measurable post-change acceptance criterion: The job obtains appropriately scoped credentials without hardcoded committed secrets. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Verify Vault token lifecycle and any provider data-source state exposure.

Incorrect Answers

A:

“Either branch produces a consistent list suitable for downstream resources” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

B:

“Secrets are handled under encrypted restricted state controls with understood redaction limits” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

C:

“The monitor is created after its required registration while unrelated actions remain parallel” would address a different Terraform configuration concern; the source instead describes An automation job reads an application password from a local plaintext file even though the organization has a Vault deployment for short-lived credentials. The appropriate design is to use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence. Confirm whether the job obtains appropriately scoped credentials without hardcoded committed secrets.

Question 496

A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?

  1. Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence.
  2. Use a suitable postcondition on the relevant managed value to verify the resulting attribute.
  3. Return type-compatible collection values from both branches and define a constrained variable interface.
  4. Declare an explicit root output for the required subnet ID and consume that supported interface.

Explanation

Correct Answer

C:

The proposed intervention addresses the reported Terraform engineering failure: A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. It applies the design choice Return type-compatible collection values from both branches and define a constrained variable interface. Review the primary diagnostic: Inspect conditional true and false branch types. The expected outcome is: Either branch produces a consistent list suitable for downstream resources. The rollout safeguard is: Use explicit type conversions and test both boolean paths.

Incorrect Answers

A:

“Use an authorized Vault integration or credential injection design with short-lived scope, avoiding unnecessary state persistence” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

B:

“Use a suitable postcondition on the relevant managed value to verify the resulting attribute” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

D:

“Declare an explicit root output for the required subnet ID and consume that supported interface” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

Question 497

A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. Before choosing a remedy, the team needs independent evidence of the actual root cause. Which TWO checks most directly test this case? (Select TWO.)

  1. Evaluate both branches with valid test inputs in terraform console.
  2. Inspect the lifecycle block and any planned destroy operation.
  3. Check provider schema for nested block versus argument syntax.
  4. Inspect conditional true and false branch types.
  5. Compare old and new index-based resource addresses in the plan.

Explanation

Correct Answers

A:

This is directly relevant evidence for the reported behavior: Evaluate both branches with valid test inputs in terraform console. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Return type-compatible collection values from both branches and define a constrained variable interface. The expected confirmation is Either branch produces a consistent list suitable for downstream resources.

D:

This is directly relevant evidence for the reported behavior: Inspect conditional true and false branch types. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Return type-compatible collection values from both branches and define a constrained variable interface. The expected confirmation is Either branch produces a consistent list suitable for downstream resources.

Incorrect Answers

B:

“Inspect the lifecycle block and any planned destroy operation” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

C:

“Check provider schema for nested block versus argument syntax” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

E:

“Compare old and new index-based resource addresses in the plan” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

Question 498

A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?

  1. Incompatible expression types can prevent evaluation or mask wrong assumptions.
  2. Catching every error can conceal configuration mistakes.
  3. Mis-scoped iteration expressions can prevent planning.
  4. Treating warnings as hard deployment protections can leave critical controls unenforced.

Explanation

Correct Answer

A:

The reported condition creates the specific potential exposure: Incompatible expression types can prevent evaluation or mask wrong assumptions. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Inspect conditional true and false branch types. Second diagnostic: Evaluate both branches with valid test inputs in terraform console.

Incorrect Answers

B:

“Catching every error can conceal configuration mistakes” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

C:

“Mis-scoped iteration expressions can prevent planning” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

D:

“Treating warnings as hard deployment protections can leave critical controls unenforced” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

Question 499

A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)

  1. Use provider safeguards and backups in addition to plan checks.
  2. Reference the managed load balancer attribute from the firewall rule to express the correct dependency.
  3. Return type-compatible collection values from both branches and define a constrained variable interface.
  4. Document defaults and validate supported timeout ranges.
  5. Use explicit type conversions and test both boolean paths.

Explanation

Correct Answers

C:

This is one of the two necessary decisions for a safe design: Return type-compatible collection values from both branches and define a constrained variable interface. Together the corrective action and its implementation safeguard need to address the recorded condition: A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. Acceptance requires Either branch produces a consistent list suitable for downstream resources.

E:

This is one of the two necessary decisions for a safe design: Use explicit type conversions and test both boolean paths. Together the corrective action and its implementation safeguard need to address the recorded condition: A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. Acceptance requires Either branch produces a consistent list suitable for downstream resources.

Incorrect Answers

A:

“Use provider safeguards and backups in addition to plan checks” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

B:

“Reference the managed load balancer attribute from the firewall rule to express the correct dependency” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

D:

“Document defaults and validate supported timeout ranges” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

Question 500

A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The team has implemented an approved Terraform change. Which observed result most directly confirms that the original requirement is now met, beyond a successful command exit code?

  1. A violating observed value is reported during Terraform evaluation.
  2. Removing one subnet does not renumber unrelated managed subnet addresses.
  3. Either branch produces a consistent list suitable for downstream resources.
  4. The monitor is created after its required registration while unrelated actions remain parallel.

Explanation

Correct Answer

C:

This is the appropriate measurable post-change acceptance criterion: Either branch produces a consistent list suitable for downstream resources. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Use explicit type conversions and test both boolean paths.

Incorrect Answers

A:

“A violating observed value is reported during Terraform evaluation” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

B:

“Removing one subnet does not renumber unrelated managed subnet addresses” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

D:

“The monitor is created after its required registration while unrelated actions remain parallel” would address a different Terraform configuration concern; the source instead describes A configuration uses a conditional function to decide between two subnet lists but one branch is a string, causing an inconsistent type error. The appropriate design is to return type-compatible collection values from both branches and define a constrained variable interface. Confirm whether either branch produces a consistent list suitable for downstream resources.

HashiCorp Certified: Terraform Associate (Terraform Associate) Practice Tests