-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
area/provider/ibmcloudIssues or PRs related to ibmcloud providerIssues or PRs related to ibmcloud providerkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
/kind bug
/area provider/ibmcloud
When creating new resources using v2 flow, if resource group is not present in status, the value from spec.resourceGroup
is used.
spec.resourceGroup
represents a string which could either be ID or name(v1 flow expects an ID). However, when ID is provided, it would fail with
failed to create vpc: failed retreiving resource group id during vpc creation: failed to retrieve resource group by name: failed to find Resource Group
With the v2 flow, we should either document the usage of name vs ID when using spec.resourcGroup
or use the value when spec.Newtwork.ResourceGroup
is provided.
It might be better to simplify the resource group by placing it in the spec and consuming the value accordingly for different flows.
Metadata
Metadata
Assignees
Labels
area/provider/ibmcloudIssues or PRs related to ibmcloud providerIssues or PRs related to ibmcloud providerkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.