github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 ~> **NOTE on CodeCommit Availability**: The CodeCommit is not yet rolled out 14 in all regions - available regions are listed 15 [the AWS Docs](https://docs.aws.amazon.com/general/latest/gr/rande.html#codecommit_region). 16 17 ## Example Usage 18 19 ```hcl 20 resource "aws_codecommit_repository" "test" { 21 repository_name = "MyTestRepository" 22 description = "This is the Sample App Repository" 23 } 24 ``` 25 26 ## Argument Reference 27 28 The following arguments are supported: 29 30 * `repository_name` - (Required) The name for the repository. This needs to be less than 100 characters. 31 * `description` - (Optional) The description of the repository. This needs to be less than 1000 characters 32 * `default_branch` - (Optional) The default branch of the repository. The branch specified here needs to exist. 33 34 ## Attributes Reference 35 36 The following attributes are exported: 37 38 * `repository_id` - The ID of the repository 39 * `arn` - The ARN of the repository 40 * `clone_url_http` - The URL to use for cloning the repository over HTTPS. 41 * `clone_url_ssh` - The URL to use for cloning the repository over SSH.