Interview Prep/Terraform/Variables, Locals, Outputs and Types

What are write-only arguments?

AdvancedConceptVariables, Locals, Outputs and Types
Answer

Added in Terraform 1.11, write-only arguments (named with a _wo suffix, such as password_wo on aws_db_instance) accept a value that Terraform sends to the provider but never stores in plan or state. Because there is no stored value to diff, you pair it with a version argument (password_wo_version) and bump that number to trigger a change. Support depends on the provider resource.

All Terraform questions Roadmap: Terraform

More on Variables, Locals, Outputs and Types