Add description for the parameters field of DSA instances (#445)
* Add description for the parameters field of DSA instances * Improve sentence
This commit is contained in:
parent
78793f49ff
commit
aec518b8f3
21 changed files with 35 additions and 43 deletions
|
|
@ -168,6 +168,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
"version": "The service version.",
|
||||
"plan_name": "The selected plan name.",
|
||||
"plan_id": "The selected plan ID.",
|
||||
"parameters": "Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.",
|
||||
}
|
||||
|
||||
parametersDescriptions := map[string]string{
|
||||
|
|
@ -244,6 +245,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
Computed: true,
|
||||
},
|
||||
"parameters": schema.SingleNestedAttribute{
|
||||
Description: descriptions["parameters"],
|
||||
Attributes: map[string]schema.Attribute{
|
||||
"sgw_acl": schema.StringAttribute{
|
||||
Description: parametersDescriptions["sgw_acl"],
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
"version": "The service version.",
|
||||
"plan_name": "The selected plan name.",
|
||||
"plan_id": "The selected plan ID.",
|
||||
"parameters": "Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.",
|
||||
}
|
||||
|
||||
parametersDescriptions := map[string]string{
|
||||
|
|
@ -206,6 +207,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
Computed: true,
|
||||
},
|
||||
"parameters": schema.SingleNestedAttribute{
|
||||
Description: descriptions["parameters"],
|
||||
Attributes: map[string]schema.Attribute{
|
||||
"sgw_acl": schema.StringAttribute{
|
||||
Description: parametersDescriptions["sgw_acl"],
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
"version": "The service version.",
|
||||
"plan_name": "The selected plan name.",
|
||||
"plan_id": "The selected plan ID.",
|
||||
"parameters": "Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.",
|
||||
}
|
||||
|
||||
parametersDescriptions := map[string]string{
|
||||
|
|
@ -225,6 +226,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
Computed: true,
|
||||
},
|
||||
"parameters": schema.SingleNestedAttribute{
|
||||
Description: descriptions["parameters"],
|
||||
Attributes: map[string]schema.Attribute{
|
||||
"sgw_acl": schema.StringAttribute{
|
||||
Description: parametersDescriptions["sgw_acl"],
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
"version": "The service version.",
|
||||
"plan_name": "The selected plan name.",
|
||||
"plan_id": "The selected plan ID.",
|
||||
"parameters": "Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.",
|
||||
}
|
||||
|
||||
parametersDescriptions := map[string]string{
|
||||
|
|
@ -221,6 +222,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
Computed: true,
|
||||
},
|
||||
"parameters": schema.SingleNestedAttribute{
|
||||
Description: descriptions["parameters"],
|
||||
Attributes: map[string]schema.Attribute{
|
||||
"sgw_acl": schema.StringAttribute{
|
||||
Description: parametersDescriptions["sgw_acl"],
|
||||
|
|
|
|||
|
|
@ -165,6 +165,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
"version": "The service version.",
|
||||
"plan_name": "The selected plan name.",
|
||||
"plan_id": "The selected plan ID.",
|
||||
"parameters": "Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.",
|
||||
}
|
||||
|
||||
parametersDescriptions := map[string]string{
|
||||
|
|
@ -249,6 +250,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
|||
Computed: true,
|
||||
},
|
||||
"parameters": schema.SingleNestedAttribute{
|
||||
Description: descriptions["parameters"],
|
||||
Attributes: map[string]schema.Attribute{
|
||||
"sgw_acl": schema.StringAttribute{
|
||||
Description: parametersDescriptions["sgw_acl"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue