Interview Prep/Terraform/Providers, Resources and Data Sources

What does "Optional + Computed" mean for an argument?

AdvancedConceptProviders, Resources and Data Sources
Answer

If you omit the argument, the provider picks a value and records it in state; if you set it, your value wins. Example: aws_instance.availability_zone. This is why leaving an argument out does not produce a diff, while later removing a value you previously set usually does not revert it to the default.

All Terraform questions Roadmap: Terraform

More on Providers, Resources and Data Sources