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:
Mauritz Uphoff 2025-07-07 13:35:57 +02:00 committed by GitHub
parent d9dc1d4495
commit 06f985227c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 7 deletions

View file

@ -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",

View file

@ -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(),
},