OCI Resource Manager: scenarios to Apply Terraform Configuration with scenarios Code 400
I'm having trouble with I'm working on a project and hit a roadblock. I'm working with an scenario while trying to apply my Terraform configuration using the OCI Resource Manager. The plan seems to initialize correctly, but when I execute the apply command, I receive a `400 Bad Request` behavior with the message: `Invalid request: required parameter 'compartmentId' is missing`. I've ensured that I've correctly set all necessary variables in my configuration, including the compartment ID, but for some reason, it doesn't seem to be recognized. Here is a snippet of my Terraform code: ```hcl provider "oci" { tenancy_ocid = var.tenancy_ocid user_ocid = var.user_ocid fingerprint = var.fingerprint private_key_path = var.private_key_path } resource "oci_identity_user" "my_user" { compartment_id = var.compartment_id name = "TestUser" description = "User created via Terraform" } ``` I've defined the `compartment_id` variable in a separate `variables.tf` file as follows: ```hcl variable "compartment_id" { description = "The OCID of the compartment where resources will be created" type = string } ``` And I'm passing the value for `compartment_id` in my `terraform.tfvars` file like this: ```hcl compartment_id = "ocid1.compartment.oc1..exampleuniqueID" ``` I've double-checked that the OCID is correct and that the necessary permissions are in place for the user. I also tried running `terraform validate`, which passes without any issues. Any ideas on what might be going wrong or how to debug this further? Any advice would be much appreciated. I'm developing on CentOS with Hcl. Is there a better approach?