github.com/alexissmirnov/terraform@v0.4.3-0.20150423153700-1ef9731a2f14/website/source/docs/providers/aws/r/s3_bucket.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_s3_bucket"
     4  sidebar_current: "docs-aws-resource-s3-bucket"
     5  description: |-
     6    Provides a S3 bucket resource.
     7  ---
     8  
     9  # aws\_s3\_bucket
    10  
    11  Provides a S3 bucket resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_s3_bucket" "b" {
    17      bucket = "my_tf_test_bucket"
    18      acl = "private"
    19  
    20      tags {
    21          Name = "My bucket"
    22          Environment = "Dev"
    23      }
    24  }
    25  ```
    26  
    27  ## Argument Reference
    28  
    29  The following arguments are supported:
    30  
    31  * `bucket` - (Required) The name of the bucket.
    32  * `acl` - (Optional) The canned ACL to apply. Defaults to "private".
    33  * `tags` - (Optional) A mapping of tags to assign to the bucket.
    34  
    35  ## Attributes Reference
    36  
    37  The following attributes are exported:
    38  
    39  * `id` - The name of the bucket
    40