From 9d6665eaee6bcf7c727d48db1bf5bd2d0aa58f0a Mon Sep 17 00:00:00 2001 From: Sam Greening <2552620+SG60@users.noreply.github.com> Date: Tue, 10 Jan 2023 17:24:07 +0000 Subject: [PATCH] fix #1539 --- internal/service/bastion/bastion_bastion_resource.go | 6 +++--- website/docs/r/bastion_bastion.html.markdown | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/service/bastion/bastion_bastion_resource.go b/internal/service/bastion/bastion_bastion_resource.go index 60e0db0f343..9261e21d8d9 100644 --- a/internal/service/bastion/bastion_bastion_resource.go +++ b/internal/service/bastion/bastion_bastion_resource.go @@ -45,16 +45,16 @@ func BastionBastionResource() *schema.Resource { Required: true, ForceNew: true, }, - - // Optional "client_cidr_block_allow_list": { Type: schema.TypeList, - Optional: true, + Required: true, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, + + // Optional "defined_tags": { Type: schema.TypeMap, Optional: true, diff --git a/website/docs/r/bastion_bastion.html.markdown b/website/docs/r/bastion_bastion.html.markdown index 345701660f4..07e4acb44be 100644 --- a/website/docs/r/bastion_bastion.html.markdown +++ b/website/docs/r/bastion_bastion.html.markdown @@ -39,7 +39,7 @@ resource "oci_bastion_bastion" "test_bastion" { The following arguments are supported: * `bastion_type` - (Required) The type of bastion. Use `standard`. -* `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. +* `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. * `compartment_id` - (Required) (Updatable) The unique identifier (OCID) of the compartment where the bastion is located. * `defined_tags` - (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` * `dns_proxy_status` - (Optional) Flag to enable FQDN and SOCKS5 Proxy Support. Example: `ENABLED`, `DISABLED`