From 51db979e697012296e4e4ae40c97ade1105986db Mon Sep 17 00:00:00 2001 From: Matt Burgess <549318+mattburgess@users.noreply.github.com> Date: Thu, 22 Jun 2023 00:11:15 +0100 Subject: [PATCH] Update docs for aws_security_group and aws_security_group_rule --- website/docs/r/security_group.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/docs/r/security_group.html.markdown b/website/docs/r/security_group.html.markdown index 4ed02d408e61..4f1aa59b575d 100644 --- a/website/docs/r/security_group.html.markdown +++ b/website/docs/r/security_group.html.markdown @@ -236,6 +236,8 @@ The following arguments are required: The following arguments are optional: +~> **Note** Although `cidr_blocks`, `ipv6_cidr_blocks`, `prefix_list_ids`, and `security_groups` are all marked as optional, you _must_ provide one of them in order to configure the source of the traffic. + * `cidr_blocks` - (Optional) List of CIDR blocks. * `description` - (Optional) Description of this ingress rule. * `ipv6_cidr_blocks` - (Optional) List of IPv6 CIDR blocks. @@ -254,6 +256,8 @@ The following arguments are required: The following arguments are optional: +~> **Note** Although `cidr_blocks`, `ipv6_cidr_blocks`, `prefix_list_ids`, and `security_groups` are all marked as optional, you _must_ provide one of them in order to configure the destination of the traffic. + * `cidr_blocks` - (Optional) List of CIDR blocks. * `description` - (Optional) Description of this egress rule. * `ipv6_cidr_blocks` - (Optional) List of IPv6 CIDR blocks.