Terraform
Ephemeral values
Appears inTerraform Associate
A marker introduced in Terraform 1.10 that indicates a value (variable, output, or resource result) must never be persisted to state or plan, useful for temporary credentials or other sensitive data that shouldn't be stored on disk.
On the exam
In Terraform Associate it's compared to sensitive=true: sensitive hides the value in console logs but DOES save it in state; ephemeral=true simply never persists it anywhere, offering greater security for short-lived secrets.
Related terms
- Terraform StateA file (terraform.tfstate) that Terraform uses to map the real-world configuration in code to actual resources in the cloud. It's Terraform's source of truth about which resources it manages and their current status.
- Terraform VariableAn input parameter that lets you parameterize Terraform configurations. Declared with variable {} and assigned via a .tfvars file, environment variables (TF_VAR_), -var flags, or interactively.