Skip to content

Commit

Permalink
Change default for create_service_account in CM
Browse files Browse the repository at this point in the history
Although changing the default is not a backward compatible change,
we are making an exception for this attribute since compute manager
without service account will be forbidden in NSX 9.0.0 onwards.

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
  • Loading branch information
annakhm committed Aug 30, 2024
1 parent 698e27f commit 92c2c45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nsxt/resource_nsxt_compute_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func resourceNsxtComputeManager() *schema.Resource {
Type: schema.TypeBool,
Description: "Specifies whether service account is created or not on compute manager",
Optional: true,
Default: false,
Default: true,
},
"credential": {
Type: schema.TypeList,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_manager.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The following arguments are supported:
* `description` - (Optional) Description of the resource.
* `tag` - (Optional) A list of scope + tag pairs to associate with this resource.
* `access_level_for_oidc` - (Optional) Specifies access level to NSX from the compute manager. Accepted values - 'FULL' or 'LIMITED'. The default value is 'FULL'.
* `create_service_account` - (Optional) Specifies whether service account is created or not on compute manager.
* `create_service_account` - (Optional) Specifies whether service account is created or not on compute manager. The default is `true`. Note that only `true` value will be supported from version 9.0.0 onwards.
* `credential` - (Required) Login credentials for the compute manager. Should contain exactly one credential enlisted below:
* `saml_login` - (Optional) A login credential specifying saml token.
* `thumbprint` - (Required) Thumbprint of the server.
Expand Down

0 comments on commit 92c2c45

Please sign in to comment.