Closed asibs closed 5 months ago
Minimal main.tf terraform file:
main.tf
terraform { required_version = ">= 0.15" required_providers { timescale = { source = "timescale/timescale" version = ">= 1.0.0, < 2.0.0" } } } provider "timescale" { project_id = "REDACTED" access_key = "REDACTED" secret_key = "REDACTED" } data "timescale_vpcs" "all_ts_vpcs" { } output "all_vpcs" { value = data.timescale_vpcs.all_ts_vpcs }
terraform init
terraform plan
Changes to Outputs: + all_vpcs = { + id = "placeholder 1" + vpcs = [ + { + cidr = "10.0.0/24" + created = "2023-10-23T15:48:28.876258Z" + error_message = "" + id = 1234 + name = "my-test-vpc" + peering_connections = null + project_id = "REDACTED" + provisioned_id = "" + region_code = "eu-west-1" + status = "CREATED" + updated = "" }, ] }
Note that the peering_connections attribute is null, where I would expect it to be a object containing information on the peering connections, as per the documentation here.
peering_connections
null
Available in v1.3.0
Steps to recreate
Minimal
main.tf
terraform file:terraform init
andterraform plan
with themain.tf
above.Output
Note that the
peering_connections
attribute isnull
, where I would expect it to be a object containing information on the peering connections, as per the documentation here.