From 78e072e0b6da6c9ef901a138c3b469e75fe0c5dd Mon Sep 17 00:00:00 2001 From: James Martelletti Date: Tue, 16 Sep 2014 21:40:16 +1000 Subject: [PATCH 1/3] source_dest_check defaults to true in the code --- website/source/docs/providers/aws/r/instance.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/providers/aws/r/instance.html.markdown b/website/source/docs/providers/aws/r/instance.html.markdown index 757c01d89..bc67d790d 100644 --- a/website/source/docs/providers/aws/r/instance.html.markdown +++ b/website/source/docs/providers/aws/r/instance.html.markdown @@ -37,7 +37,7 @@ The following arguments are supported: * `private_ip` - (Optional) Private IP address to associate with the instance in a VPC. * `source_dest_check` - (Optional) Controls if traffic is routed to the instance when - the destination address does not match the instance. Used for NAT or VPNs. Defaults false. + the destination address does not match the instance. Used for NAT or VPNs. Defaults true. * `user_data` - (Optional) The user data to provide when launching the instance. ## Attributes Reference From a8947b17cdf05f7c46a1e73263a493bfa2563d51 Mon Sep 17 00:00:00 2001 From: James Martelletti Date: Tue, 16 Sep 2014 21:40:46 +1000 Subject: [PATCH 2/3] Provide all required parameters in example --- .../docs/providers/aws/r/db_security_group.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/providers/aws/r/db_security_group.html.markdown b/website/source/docs/providers/aws/r/db_security_group.html.markdown index 61fde66c9..575e341c5 100644 --- a/website/source/docs/providers/aws/r/db_security_group.html.markdown +++ b/website/source/docs/providers/aws/r/db_security_group.html.markdown @@ -12,7 +12,9 @@ Provides an RDS security group resource. ``` resource "aws_db_security_group" "default" { - name = "RDS default security group" + name = "rds_sg" + description = "RDS default security group" + ingress { cidr = "10.0.0.1/24" } From 1f08ddf27d6f4e4fa15ea88d4122c4cb574b0f95 Mon Sep 17 00:00:00 2001 From: James Martelletti Date: Tue, 16 Sep 2014 21:41:10 +1000 Subject: [PATCH 3/3] Change to valid CIDR address --- .../source/docs/providers/aws/r/db_security_group.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/providers/aws/r/db_security_group.html.markdown b/website/source/docs/providers/aws/r/db_security_group.html.markdown index 575e341c5..dc9c30035 100644 --- a/website/source/docs/providers/aws/r/db_security_group.html.markdown +++ b/website/source/docs/providers/aws/r/db_security_group.html.markdown @@ -16,7 +16,7 @@ resource "aws_db_security_group" "default" { description = "RDS default security group" ingress { - cidr = "10.0.0.1/24" + cidr = "10.0.0.0/24" } } ```