-> **Note**: The `ephemeralasnull` function is in public beta and available in Terraform v1.10 and later. The workflows of `ephemeralasnull` are subject to change.
The `ephemeralasnull` function is in public beta and available in Terraform v1.10 and later. The workflows of `ephemeralasnull` are subject to change.
</Note>
This topic provides reference information about the `ephemeralasnull` function. The `ephemeralasnull` function accepts an ephemeral value and returns `null`.
The `terraform.applying` symbol is in public beta and available in Terraform v1.10 and later. The workflows of `terraform.applying` are subject to change.
</Note>
-> **Note**: The `terraform.applying` symbol is in public beta and available in Terraform v1.10 and later. The workflows of `terraform.applying` are subject to change.
You can use the `terraform.applying` symbol in your configuration to determine if Terraform is currently running an apply operation.
@ -7,11 +7,7 @@ description: Learn about ephemeral resource blocks that you can specify in Terra
This topic provides reference information for the `ephemeral` block.
<Note title="Public beta">
Ephemeral resources are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral resources are subject to change.
</Note>
-> **Note**: Ephemeral resources are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral resources are subject to change.
@ -14,11 +14,7 @@ When using local state, state is stored in plain-text JSON files.
When using [remote state](/terraform/language/state/remote), state is only ever held in memory when used by Terraform. It may be encrypted at rest, but this depends on the specific remote state backend.
## Ephemeral data
<Note title="Public beta">
Ephemeral variables, outputs, and resources are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral values are subject to change.
</Note>
-> **Note**: Ephemeral variables, outputs, and resources are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral values are subject to change.
Terraform allows you to mark variables and outputs as ephemeral. Providers can also support specific `ephemeral` resources. Ephemerality in Terraform means that the data of a block is available during runtime, but Terraform does not write that data to state or plan files. The `ephemeral` property is helpful when managing credentials, tokens, or other temporary resources you do not want to store in Terraform state files.
Ephemeral local values are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral locals are subject to change.
Comment
</Note>
-> **Note**: Ephemeral local values are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral locals are subject to change.
Local values implicitly become ephemeral if you reference an ephemeral value when you assign that local a value. For example, you can create a local that references an ephemeral `service_token`.
@ -112,11 +112,7 @@ maintainer. For commentary for module maintainers, use comments.
### `ephemeral` — Avoid storing values in state or plan files
<Note title="Public beta">
Ephemeral outputs are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral outputs are subject to change.
</Note>
-> **Note**: Ephemeral outputs are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral outputs are subject to change.
You can mark `output` values as `ephemeral` in child modules to pass ephemeral values between modules while avoiding persisting those values to state or plan files. This is useful for managing credentials, tokens, or other temporary resources you do not want to store in Terraform state files.
@ -178,11 +178,7 @@ Refer to [Custom Condition Checks](/terraform/language/expressions/custom-condit
### Exclude values from state
<Note title="Public beta">
Ephemeral variables are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral variables are subject to change.
</Note>
-> **Note**: Ephemeral variables are in public beta and available in Terraform v1.10 and later. The workflows of ephemeral variables are subject to change.