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".
More on Providers, Resources and Data Sources
What is a resource block and how is it addressed?BeginnerWhat is the difference between a resource and a data source?BeginnerHow do you configure a provider such as AWS?BeginnerHow do you use the same provider with multiple regions or accounts?IntermediateIn what order does the AWS provider look for credentials?IntermediateWhat does `default_tags` in the AWS provider do and what are its pitfalls?Intermediate