website: S3 buket

This commit is contained in:
Armon Dadgar 2014-07-23 16:38:12 -04:00
parent e4ff3e7d13
commit 8517d0950b
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,32 @@
---
layout: "aws"
page_title: "AWS: aws_s3_bucket"
sidebar_current: "docs-aws-resource-s3-bucket"
---
# aws\_s3\_bucket
Provides a S3 bucket resource.
## Example Usage
```
resource "aws_s3_bucket" "b" {
bucket = "my_tf_test_bucket"
acl = "private"
}
```
## Argument Reference
The following arguments are supported:
* `bucket` - (Required) The name of the bucket.
* `acl` - (Optional) The canned ACL to apply. Defaults to "private".
## Attributes Reference
The following attributes are exported:
* `id` - The name of the bucket

View File

@ -11,7 +11,7 @@ Provides an VPC subnet resource.
## Example Usage ## Example Usage
``` ```
resource "aws_vpc" "main" { resource "aws_subnet" "main" {
vpc_id = "${aws_vpc.main.id}" vpc_id = "${aws_vpc.main.id}"
cidr_block = "10.0.1.0/16" cidr_block = "10.0.1.0/16"
} }

View File

@ -25,6 +25,10 @@
<a href="/docs/providers/aws/r/route53_zone.html">aws_route53_zone</a> <a href="/docs/providers/aws/r/route53_zone.html">aws_route53_zone</a>
</li> </li>
<li<%= sidebar_current("docs-aws-resource-s3-bucket") %>>
<a href="/docs/providers/aws/r/s3_bucket.html">aws_s3_bucket</a>
</li>
<li<%= sidebar_current("docs-aws-resource-security-group") %>> <li<%= sidebar_current("docs-aws-resource-security-group") %>>
<a href="/docs/providers/aws/r/security_group.html">aws_security_group</a> <a href="/docs/providers/aws/r/security_group.html">aws_security_group</a>
</li> </li>