Terraform CLI
Terraform configuration contains an unsupported argument
Unsupported argument.
Terraform found an argument in a resource, module, or provider block that the target schema does not support.
Observed message
Unsupported argument.
Why it happens
- The configuration uses an argument name that is not part of the current schema.
- The argument belongs to a different resource type, module version, or provider version.
- A copied example targets a newer or different provider than the one currently installed.
How to fix it
- Compare the block with the current provider or module documentation and remove or rename unsupported arguments.
- Check whether the installed provider version actually supports the argument you are trying to use.
- Re-run terraform init if you intentionally changed provider requirements or versions.