From 6e23bd2f095aac03bf0682e1698c36e12d9c6199 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Mon, 5 Nov 2018 09:39:51 -0500 Subject: [PATCH] docs/resource/aws_security_group*: Add note and link to AWS documentation about VPC peering restrictions --- website/docs/r/security_group.html.markdown | 2 ++ website/docs/r/security_group_rule.html.markdown | 2 ++ 2 files changed, 4 insertions(+) diff --git a/website/docs/r/security_group.html.markdown b/website/docs/r/security_group.html.markdown index afa560d1940..e8ed59f50df 100644 --- a/website/docs/r/security_group.html.markdown +++ b/website/docs/r/security_group.html.markdown @@ -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 diff --git a/website/docs/r/security_group_rule.html.markdown b/website/docs/r/security_group_rule.html.markdown index cbea35b84d5..84e92b6cef6 100644 --- a/website/docs/r/security_group_rule.html.markdown +++ b/website/docs/r/security_group_rule.html.markdown @@ -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