Allow specifying network ID in SKE cluster (#368)

This commit is contained in:
João Palet 2024-05-21 11:27:23 +01:00 committed by GitHub
parent e2e5f19a29
commit ac0840fceb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 204 additions and 7 deletions

View file

@ -228,6 +228,20 @@ func (r *clusterDataSource) Schema(_ context.Context, _ datasource.SchemaRequest
},
},
"network": schema.SingleNestedAttribute{
Description: "Network block as defined below.",
Computed: true,
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Description: "ID of the STACKIT Network Area (SNA) network into which the cluster will be deployed.",
Computed: true,
Validators: []validator.String{
validate.UUID(),
},
},
},
},
"hibernations": schema.ListNestedAttribute{
Description: "One or more hibernation block as defined below.",
Computed: true,