Interview Prep/Terraform/Providers, Resources and Data Sources

What is the difference between arguments and attributes?

BeginnerConceptProviders, Resources and Data Sources
Answer

Arguments are inputs you set in a block (instance_type = "t3.micro"). Attributes are all the values you can read from a resource, including arguments and computed values such as id, arn or public_ip. The provider docs list them under "Argument Reference" and "Attribute Reference".

All Terraform questions Roadmap: Terraform

More on Providers, Resources and Data Sources