Meta-arguments
Meta-arguments are attributes that you can set on any resource block. They allow you to control different aspects of the resource related to its context, dependencies, and lifecycle. Each meta-argument enables finer-grained control over that resource by allowing the developer to give very focused resource-specific instructions to Terraform.
Provider
The provider
meta-argument is a reference that allows you to specify under which provider context you would like to deploy the resource. The scope of the context is dependent on the provider you are using. The two most common scopes are which region you are deploying to within a public cloud and what authentication credential you are using.
You will need to understand the specific scoping mechanism of your providers. This book will use the aws
, azurerm
, and google
providers. Each provider defines its scope differently. The scope of the AWS provider is an AWS account and an AWS Region. The scope for the GCP provider...