Skip to content

Commit 57dfa18

Browse files
committed
fix #1539
Signed-off-by: Samuel Greening <samjg60@gmail.com>
1 parent ff35fe7 commit 57dfa18

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/service/bastion/bastion_bastion_resource.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ func BastionBastionResource() *schema.Resource {
4545
Required: true,
4646
ForceNew: true,
4747
},
48-
49-
// Optional
5048
"client_cidr_block_allow_list": {
5149
Type: schema.TypeList,
52-
Optional: true,
50+
Required: true,
5351
Computed: true,
5452
Elem: &schema.Schema{
5553
Type: schema.TypeString,
5654
},
5755
},
56+
57+
// Optional
5858
"defined_tags": {
5959
Type: schema.TypeMap,
6060
Optional: true,

website/docs/r/bastion_bastion.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ resource "oci_bastion_bastion" "test_bastion" {
3939
The following arguments are supported:
4040

4141
* `bastion_type` - (Required) The type of bastion. Use `standard`.
42-
* `client_cidr_block_allow_list` - (Optional) (Updatable) A list of address ranges in CIDR notation that you want to allow to connect to sessions hosted by this bastion.
42+
* `client_cidr_block_allow_list` - (Required) (Updatable) A list of address ranges in CIDR notation that you want to allow to connect to sessions hosted by this bastion.
4343
* `compartment_id` - (Required) (Updatable) The unique identifier (OCID) of the compartment where the bastion is located.
4444
* `defined_tags` - (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
4545
* `dns_proxy_status` - (Optional) Flag to enable FQDN and SOCKS5 Proxy Support. Example: `ENABLED`, `DISABLED`

0 commit comments

Comments
 (0)