github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/aws/r/code_commit_repository.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_codecommit_repository"
     4  sidebar_current: "docs-aws-resource-codecommit-repository"
     5  description: |-
     6    Provides a CodeCommit Repository Resource.
     7  ---
     8  
     9  # aws\_codecommit\_repository
    10  
    11  Provides a CodeCommit Repository Resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_codecommit_repository" "test" {
    17    repository_name = "MyTestRepository"
    18    description = "This is the Sample App Repository"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `repository_name` - (Required) The name for the repository. This needs to be less than 100 characters.
    27  * `description` - (Optional) The description of the repository. This needs to be less than 1000 characters
    28  * `default_branch` - (Optional) The default branch of the repository. The branch specified here needs to exist.
    29  
    30  ## Attributes Reference
    31  
    32  The following attributes are exported:
    33  
    34  * `repository_id` - The ID of the repository
    35  * `arn` - The ARN of the repository
    36  * `clone_url_http` - The URL to use for cloning the repository over HTTPS.
    37  * `clone_url_ssh` - The URL to use for cloning the repository over SSH.