docs: add system routes description (#901)
* docs: add system routes description --------- Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
This commit is contained in:
parent
d9dc1d4495
commit
06f985227c
5 changed files with 9 additions and 7 deletions
|
|
@ -44,5 +44,5 @@ data "stackit_routing_table" "example" {
|
|||
- `id` (String) Terraform's internal datasource ID. It is structured as "`organization_id`,`region`,`network_area_id`,`routing_table_id`".
|
||||
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
|
||||
- `name` (String) The name of the routing table.
|
||||
- `system_routes` (Boolean)
|
||||
- `system_routes` (Boolean) This controls whether the routes for project-to-project communication are created automatically or not.
|
||||
- `updated_at` (String) Date-time when the routing table was updated
|
||||
|
|
|
|||
|
|
@ -50,5 +50,5 @@ Read-Only:
|
|||
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
|
||||
- `name` (String) The name of the routing table.
|
||||
- `routing_table_id` (String) The routing tables ID.
|
||||
- `system_routes` (Boolean)
|
||||
- `system_routes` (Boolean) This controls whether the routes for project-to-project communication are created automatically or not.
|
||||
- `updated_at` (String) Date-time when the routing table was updated
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ resource "stackit_routing_table" "example" {
|
|||
- `description` (String) Description of the routing table.
|
||||
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
|
||||
- `region` (String) The resource region. If not defined, the provider region is used.
|
||||
- `system_routes` (Boolean)
|
||||
- `system_routes` (Boolean) This controls whether the routes for project-to-project communication are created automatically or not.
|
||||
|
||||
### Read-Only
|
||||
|
||||
|
|
|
|||
|
|
@ -205,7 +205,8 @@ func RoutingTableResponseAttributes() map[string]schema.Attribute {
|
|||
Computed: true,
|
||||
},
|
||||
"system_routes": schema.BoolAttribute{
|
||||
Computed: true,
|
||||
Description: "This controls whether the routes for project-to-project communication are created automatically or not.",
|
||||
Computed: true,
|
||||
},
|
||||
"created_at": schema.StringAttribute{
|
||||
Description: "Date-time when the routing table was created",
|
||||
|
|
|
|||
|
|
@ -168,9 +168,10 @@ func (r *routingTableResource) Schema(_ context.Context, _ resource.SchemaReques
|
|||
},
|
||||
},
|
||||
"system_routes": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(true),
|
||||
Description: "This controls whether the routes for project-to-project communication are created automatically or not.",
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(true),
|
||||
PlanModifiers: []planmodifier.Bool{
|
||||
boolplanmodifier.RequiresReplace(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue