QuestionQ12

VerifiedTerraform configuration

You need to retrieve the ID of an existing cloud resource for use in your Terraform configuration.

Which block type should you use?

Explanation

A Terraform data block queries an existing provider resource and makes its attributes, including its ID, available for reference in the configuration without creating or managing that resource.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!