-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibm_is_vpc_default_routing_table and ibm_is_vpc_default_routing_table differences #2983
Comments
I'll take a look |
First one(https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_vpc_routing_table) is a resource, second one(https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/is_vpc_default_routing_table) is a datasource.
the id generated for a connected resource is usually a combination, so <vpc_id>/<vpc_route_table_id> is the id wrt to the resource, used for importing the resource.
One is the id of the default Routing table of the vpc (data source) and one is the terraform generated id of the resource to keep the import easier. |
I'm not convinced that the two resources should be different. They are both routing tables. Either way the documentation for these needs to be improved. I should be able to read the docs and figure out the attributes. These descriptions are the same, right:
|
@powellquiring these two |
@powellquiring , Are we good to close? |
Missing in the docs:
|
@ujjwal-ibm ,FYI |
The are two different ways to get at a routing table. But the attributes are different. Below is the focus on the attributes that interested me, but all of the attributes should be examined.
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_vpc_routing_table
Attribute reference
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/is_vpc_default_routing_table
default_routing_table - (String) The unique identifier for the default routing table.
id - (String) The unique ID for the default routing table.
Are the resources really as different as they seem
what is the diff between ibm_is_vpc_default_routing_table.id and ibm_is_vpc_default_routing_table.default_routing_table
what is the diff between the ibm_is_vpc_default_routing_table.id and is_vpc_routing_table.id
Expected: The attribute reference section of these resources to be almost identical
Actual: differences.
The text was updated successfully, but these errors were encountered: