Updated on 2023-12-13 GMT+08:00

Instruction

Metadata refers to built-in meta-arguments supported by Terraform and can be used in the provider, resource, and data blocks. This section describes the meta-arguments supported by the resource block, including:

  • depends_on: specifies the dependencies of a resource.
  • count: creates multiple resources with the same configuration.
  • for_each: creates multiple resources based on mappings and string sets.
  • lifecycle: customizes the lifecycle of a resource.