Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix: hdinsight script_action should be marked as ForceNew #28262

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/services/hdinsight/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ func SchemaHDInsightsScriptActions() *pluginsdk.Schema {
return &pluginsdk.Schema{
Type: pluginsdk.TypeList,
Optional: true,
ForceNew: true,
MinItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
Expand Down
8 changes: 4 additions & 4 deletions website/docs/r/hdinsight_hadoop_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ A `head_node` block supports the following:

* `virtual_network_id` - (Optional) The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

---

Expand Down Expand Up @@ -283,7 +283,7 @@ A `worker_node` block supports the following:

* `autoscale` - (Optional) A `autoscale` block as defined below.

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

---

Expand Down Expand Up @@ -317,7 +317,7 @@ A `zookeeper_node` block supports the following:

* `virtual_network_id` - (Optional) The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

---

Expand All @@ -331,7 +331,7 @@ A `edge_node` block supports the following:

* `https_endpoints` - (Optional) The HTTPS Connectivity Endpoint for this HDInsight Hadoop Cluster. One or more `https_endpoints` blocks as defined below.

* `uninstall_script_actions` - (Optional) A `uninstall_script_actions` block as defined below.
* `uninstall_script_actions` - (Optional) A `uninstall_script_actions` block as defined below. Changing this forces a new resource to be created.

---

Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/hdinsight_hbase_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ A `head_node` block supports the following:

* `virtual_network_id` - (Optional) The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

---

Expand Down Expand Up @@ -261,7 +261,7 @@ A `private_link_service_connection` block supports the following:

A `worker_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.

Expand Down Expand Up @@ -299,7 +299,7 @@ A `disk_encryption` block supports the following:

A `zookeeper_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ A `head_node` block supports the following:

* `virtual_network_id` - (Optional) The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

---

Expand Down Expand Up @@ -265,7 +265,7 @@ A `private_link_service_connection` block supports the following:

A `worker_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.

Expand Down Expand Up @@ -305,7 +305,7 @@ A `disk_encryption` block supports the following:

A `zookeeper_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.

Expand Down
8 changes: 4 additions & 4 deletions website/docs/r/hdinsight_kafka_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ A `compute_isolation` block supports the following:

A `head_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.

Expand Down Expand Up @@ -260,7 +260,7 @@ A `private_link_service_connection` block supports the following:

A `worker_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

* `number_of_disks_per_node` - (Required) The number of Data Disks which should be assigned to each Worker Node, which can be between 1 and 8. Changing this forces a new resource to be created.

Expand All @@ -286,7 +286,7 @@ A `worker_node` block supports the following:

A `zookeeper_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.

Expand Down Expand Up @@ -320,7 +320,7 @@ A `disk_encryption` block supports the following:

A `kafka_management_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

* `username` - The Username of the local administrator for the Kafka Management Nodes.

Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/hdinsight_spark_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ A `head_node` block supports the following:

* `virtual_network_id` - (Optional) The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined below. Changing this forces a new resource to be created.

---

Expand Down Expand Up @@ -263,7 +263,7 @@ A `private_link_service_connection` block supports the following:

A `worker_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.

Expand All @@ -289,7 +289,7 @@ A `worker_node` block supports the following:

A `zookeeper_node` block supports the following:

* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* `script_actions` - (Optional) The script action which will run on the cluster. One or more `script_actions` blocks as defined above. Changing this forces a new resource to be created.

* `username` - (Required) The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.

Expand Down
Loading