oracle-terraform-modules/terraform-oci-compute-instance

Error: data.oci_core_subnet.this: Provider doesn't support data source: oci_core_subnet

Closed this issue · 4 comments

Hi,

When terraform plan is executed then the below error comes

Error: data.oci_core_subnet.this: Provider doesn't support data source: oci_core_subnet

Please help resolve this .

Thanks,
Bhabani

updated to Terraform v0.13.5 and dont see this issue but seems main.tf is to be changed and i get the below warning . Can someone share the edited main.tf .

The below needs to be changed
count = "${length(var.subnet_ocids)}"
subnet_id = "${element(var.subnet_ocids, count.index)}"
as i get the below warning :
Could you please help ?

kral2 commented

This is related to the new HCL syntax introduced with TF0.12. It will be fixed with the syntax update project, relates to issue #36

aorcl commented

@kral2 can we close this one now?