Merge pull request #9839 from hashicorp/b-aws-default-net-acl-docs

provider/aws: Fix documenation regarding default resources
This commit is contained in:
Clint 2016-11-03 09:54:24 -05:00 committed by GitHub
commit 751e7024de
2 changed files with 11 additions and 1 deletions

View File

@ -25,6 +25,11 @@ rules in the ACL**. It then proceeds to create any rules specified in the
configuration. This step is required so that only the rules specified in the configuration. This step is required so that only the rules specified in the
configuration are created. configuration are created.
This resource treats it's inline rules as absolute; only the rules defined
inline are created, and any additions/removals external to this resource will
result in diff shown. For these reasons, this resource is incompatible with the
`aws_network_acl_rule` resource.
For more information about Network ACLs, see the AWS Documentation on For more information about Network ACLs, see the AWS Documentation on
[Network ACLs][aws-network-acls]. [Network ACLs][aws-network-acls].

View File

@ -22,10 +22,15 @@ into management. We can do this because these default security groups cannot be
destroyed, and are created with a known set of default ingress/egress rules. destroyed, and are created with a known set of default ingress/egress rules.
When Terraform first adopts the Default Security Group, it **immediately removes all When Terraform first adopts the Default Security Group, it **immediately removes all
ingress and egress rules in the ACL**. It then proceeds to create any rules specified in the ingress and egress rules in the Security Group**. It then proceeds to create any rules specified in the
configuration. This step is required so that only the rules specified in the configuration. This step is required so that only the rules specified in the
configuration are created. configuration are created.
This resource treats it's inline rules as absolute; only the rules defined
inline are created, and any additions/removals external to this resource will
result in diff shown. For these reasons, this resource is incompatible with the
`aws_security_group_rule` resource.
For more information about Default Security Groups, see the AWS Documentation on For more information about Default Security Groups, see the AWS Documentation on
[Default Security Groups][aws-default-security-groups]. [Default Security Groups][aws-default-security-groups].