concept

AWS resource and data source schemas

Distinguish managed AWS objects from external lookups and inspect their schemas.

Formal Syntax & Structure

terraform syntaxterraform
AWS resource and data source schemas

Working Example

Example Snippetterraform
variable "shared_vpc_id" {  type = string}data "aws_vpc" "shared" {  id = var.shared_vpc_id}output "shared_network" {  value = data.aws_vpc.shared.cidr_block}
Terraform Reference