terraform-provider-ibm icon indicating copy to clipboard operation
terraform-provider-ibm copied to clipboard

Provider resource_group option ignored

Open matihost opened this issue 1 year ago • 0 comments

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs#resource_group seems to be ignored - providing real or fake value does not change anything - resources are assuming Default resource group during creation.

Also it is not clear what the intent is of that value.

I believe the intentis to use it is to ensure all resources are being create/managed under that resource_group - instead of populate resource_group entry in each resource - however it is not clear in the docs.

Terraform CLI and Terraform IBM Provider Version

OpenTofu v1.6.1 IBMClud TF Provider 1.62.0

Terraform Configuration Files

provider "ibm" {
  region         = var.region
  zone           = var.zone

  # Assuming resource group is created already
  resource_group = var.resource_group_id
}

matihost avatar Feb 01 '24 12:02 matihost