Skip to content

Commit 3b0f415

Browse files
authored
Deprecate name_prefix (hashicorp#1035)
* deprecate name_prefix * make name_prefix computed and add migration instructions
1 parent 4e84953 commit 3b0f415

3 files changed

+3
-3
lines changed

docs/r/compute_instance_template.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The following arguments are supported:
125125
* `name` - (Optional) The name of the instance template. If you leave
126126
this blank, Terraform will auto-generate a unique name.
127127

128-
* `name_prefix` - (Optional) Creates a unique name beginning with the specified
128+
* `name_prefix` - (Deprecated, Optional) Creates a unique name beginning with the specified
129129
prefix. Conflicts with `name`.
130130

131131
* `can_ip_forward` - (Optional) Whether to allow sending and receiving of

docs/r/compute_ssl_certificate.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The following arguments are supported:
7070
* `name` - (Optional) A unique name for the SSL certificate. If you leave
7171
this blank, Terraform will auto-generate a unique name.
7272

73-
* `name_prefix` - (Optional) Creates a unique name beginning with the specified
73+
* `name_prefix` - (Deprecated, Optional) Creates a unique name beginning with the specified
7474
prefix. Conflicts with `name`.
7575

7676
* `description` - (Optional) An optional description of this resource.

docs/r/container_node_pool.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ resource "google_container_cluster" "primary" {
109109
* `name` - (Optional) The name of the node pool. If left blank, Terraform will
110110
auto-generate a unique name.
111111

112-
* `name_prefix` - (Optional) Creates a unique name for the node pool beginning
112+
* `name_prefix` - (Deprecated, Optional) Creates a unique name for the node pool beginning
113113
with the specified prefix. Conflicts with `name`.
114114

115115
* `node_config` - (Optional) The node configuration of the pool. See

0 commit comments

Comments
 (0)