You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
ibm_cm_catalog
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
resource"ibm_cm_catalog""service_vpe_catalog" {
label="test catalog"short_description="catalog"resource_group_id="<<< resource group id >>>"catalog_icon_url="icon url"kind="offering"tags=["catalog", "tags"]
}
provider"ibm" {
ibmcloud_api_key=var.ibmcloud_api_keyregion="eu-gb"
}
variable"ibmcloud_api_key" {
description="APIkey that's associated with the account to use, set via environment variable TF_VAR_ibmcloud_api_key"type=stringsensitive=true
}
terraform {
required_version=">= 1.0.0"required_providers {
ibm={
source ="ibm-cloud/ibm"
version ="= 1.48.0"
}
}
}
Debug Output
Panic Output
Expected Behavior
Create the catalog instance in the resource_group_id RG
Actual Behavior
Fails with the following error:
Can't configure a value for "resource_group_id": its value will be decided automatically based on the result of applying this configuration.
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Create the catalog instance in the resource_group_id RG
Actual Behavior
Fails with the following error:
Steps to Reproduce
terraform plan
orterraform apply
Important Factoids
References
doc link showing the field as optional
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/cm_catalog#argument-reference
The text was updated successfully, but these errors were encountered: