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

Terraform Module for creating Oracle Cloud Infrastructure compute instances
https://registry.terraform.io/modules/oracle-terraform-modules/compute-instance/oci/latest
Other
46 stars 62 forks source link

Error compartment_id this field cannot be set #32

Closed pnmice closed 3 years ago

pnmice commented 5 years ago

$terraform init Initializing modules... Initializing the backend... Initializing provider plugins... The following providers do not have any version constraints in configuration, so the latest version was installed. To prevent automatic upgrades to new major versions that may contain breaking changes, it is recommended to add version = "..." constraints to the corresponding provider blocks in configuration, with the constraint strings suggested below.

$terraform plan Error: "compartment_id": this field cannot be set on .terraform/modules/instance/oracle-terraform-modules-terraform-oci-compute-instance-4c2b22e/main.tf line 71, in resource "oci_core_volume_attachment" "this": 71: resource "oci_core_volume_attachment" "this" {

$terraform --version Terraform v0.12.10

kral2 commented 3 years ago

This will be addressed with the TF0.12 upgrade project. Relates to issue #36