resource attribute

A value you can read off a resource's address, either an argument you set or one the provider fills in, such as local_file.greeting.id.

In more detail

Attributes the provider sets, such as identifiers or checksums, are unknown until the resource has been created, so plans show them as known after apply. Reading an attribute from another resource creates a dependency between the two.

Examples

local_file.greeting.filename
aws_vpc.main.id

Related terms

Taught in

References

Certification courses