You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/bastion_host.html.markdown
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,10 +86,6 @@ The following arguments are supported:
86
86
87
87
~> **Note:**`kerberos_enabled` is only supported when `sku` is `Standard` or `Premium`.
88
88
89
-
*`private_only_enabled` - (Optional) Is Private-Only deployment enabled for the Bastion Host. Defaults to `false`. Changing this forces a new resource to be created.
90
-
91
-
~> **Note:**`private_only_enabled` is only supported when `sku` is `Premium`. When `private_only_enabled` is `true`, `public_ip_address_id` in `ip_configuration` must not be specified.
92
-
93
89
*`scale_units` - (Optional) The number of scale units with which to provision the Bastion Host. Possible values are between `2` and `50`. Defaults to `2`.
94
90
95
91
~> **Note:**`scale_units` only can be changed when `sku` is `Standard` or `Premium`. `scale_units` is always `2` when `sku` is `Basic`.
@@ -124,7 +120,7 @@ A `ip_configuration` block supports the following:
124
120
125
121
*`public_ip_address_id` - (Optional) Reference to a Public IP Address to associate with this Bastion Host. Changing this forces a new resource to be created.
126
122
127
-
~> **Note:**`public_ip_address_id` is required when `private_only_enabled` is `false`.
123
+
~> **Note:**`public_ip_address_id` is required when `sku` is `Basic` or `Standard`. When `sku` is `Premium` and `public_ip_address_id` is omitted, the Bastion Host is deployed in Private-Only mode (`private_only_enabled` will be `true`).
128
124
129
125
## Attributes Reference
130
126
@@ -134,6 +130,8 @@ In addition to the Arguments listed above - the following Attributes are exporte
134
130
135
131
*`dns_name` - The FQDN for the Bastion Host.
136
132
133
+
*`private_only_enabled` - Whether Private-Only deployment is enabled for the Bastion Host.
134
+
137
135
## Timeouts
138
136
139
137
The `timeouts` block allows you to specify [timeouts](https://developer.hashicorp.com/terraform/language/resources/configure#define-operation-timeouts) for certain actions:
0 commit comments