Skip to content

Commit 571a5d8

Browse files
committedJun 21, 2023
Update docs for aws_security_group and aws_security_group_rule
1 parent a4f6b03 commit 571a5d8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎website/docs/r/security_group.html.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ The following arguments are required:
236236

237237
The following arguments are optional:
238238

239+
~> **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.
240+
239241
* `cidr_blocks` - (Optional) List of CIDR blocks.
240242
* `description` - (Optional) Description of this ingress rule.
241243
* `ipv6_cidr_blocks` - (Optional) List of IPv6 CIDR blocks.
@@ -254,6 +256,8 @@ The following arguments are required:
254256

255257
The following arguments are optional:
256258

259+
~> **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.
260+
257261
* `cidr_blocks` - (Optional) List of CIDR blocks.
258262
* `description` - (Optional) Description of this egress rule.
259263
* `ipv6_cidr_blocks` - (Optional) List of IPv6 CIDR blocks.

‎website/docs/r/security_group_rule.html.markdown

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ or `egress` (outbound).
9999

100100
The following arguments are optional:
101101

102+
~> **Note** Although `cidr_blocks`, `ipv6_cidr_blocks`, `prefix_list_ids`, and `source_security_group_id` are all marked as optional, you _must_ provide one of them in order to configure the source of the traffic.
103+
102104
* `cidr_blocks` - (Optional) List of CIDR blocks. Cannot be specified with `source_security_group_id` or `self`.
103105
* `description` - (Optional) Description of the rule.
104106
* `ipv6_cidr_blocks` - (Optional) List of IPv6 CIDR blocks. Cannot be specified with `source_security_group_id` or `self`.

0 commit comments

Comments
 (0)
Please sign in to comment.