Skip to content

Commit

Permalink
[Fix] - azurerm_machine_learning_workspace - Remove `image_build_co…
Browse files Browse the repository at this point in the history
…mpute_name` forceNew constraint (#20371)

Co-authored-by: xuzhang3 <Zhangxu894765>
  • Loading branch information
xuzhang3 authored Feb 10, 2023
1 parent b5c26e2 commit 46170d6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ func resourceMachineLearningWorkspace() *pluginsdk.Resource {
"image_build_compute_name": {
Type: pluginsdk.TypeString,
Optional: true,
ForceNew: true,
},

"description": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ resource "azurerm_machine_learning_workspace" "test" {
sku_name = "Basic"
high_business_impact = true
public_network_access_enabled = true
image_build_compute_name = "terraformCompute"
image_build_compute_name = "terraformComputeUpdate"
identity {
type = "SystemAssigned"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/machine_learning_workspace.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ The following arguments are supported:

~> **NOTE:** `public_access_behind_virtual_network_enabled` is deprecated and will be removed in favour of the property `public_network_access_enabled`.

* `image_build_compute_name` - (Optional) The compute name for image build of the Machine Learning Workspace. Changing this forces a new resource to be created.
* `image_build_compute_name` - (Optional) The compute name for image build of the Machine Learning Workspace.

* `description` - (Optional) The description of this Machine Learning Workspace.

Expand Down

0 comments on commit 46170d6

Please sign in to comment.