Skip to content

Commit

Permalink
Merge pull request #6358 from terraform-providers/d-aws_security_grou…
Browse files Browse the repository at this point in the history
…p_rule-vpc-peering-restrictions

docs/resource/aws_security_group*: Add note and link to AWS documentation about VPC peering restrictions
  • Loading branch information
bflad authored Nov 5, 2018
2 parents 4148c39 + 6e23bd2 commit 7ede94d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/r/security_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ defined in-line. At this time you cannot use a Security Group with in-line rules
in conjunction with any Security Group Rule resources. Doing so will cause
a conflict of rule settings and will overwrite rules.

~> **NOTE:** Referencing Security Groups across VPC peering has certain restrictions. More information is available in the [VPC Peering User Guide](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html).

## Example Usage

Basic usage
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/security_group_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ a conflict of rule settings and will overwrite rules.

~> **NOTE:** Setting `protocol = "all"` or `protocol = -1` with `from_port` and `to_port` will result in the EC2 API creating a security group rule with all ports open. This API behavior cannot be controlled by Terraform and may generate warnings in the future.

~> **NOTE:** Referencing Security Groups across VPC peering has certain restrictions. More information is available in the [VPC Peering User Guide](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html).

## Example Usage

Basic usage
Expand Down

0 comments on commit 7ede94d

Please sign in to comment.