aws_codecommit_repository
Provides a CodeCommit Repository Resource.
~> NOTE on CodeCommit Availability: The CodeCommit is not yet rolled out
in all regions - available regions are listed
the AWS Docs.
Example Usage
resource "aws_codecommit_repository" "test" {
repository_name = "MyTestRepository"
description = "This is the Sample App Repository"
}
Argument Reference
The following arguments are supported:
repository_name
- (Required) The name for the repository. This needs to be less than 100 characters.description
- (Optional) The description of the repository. This needs to be less than 1000 charactersdefault_branch
- (Optional) The default branch of the repository. The branch specified here needs to exist.
Attributes Reference
The following attributes are exported:
repository_id
- The ID of the repositoryarn
- The ARN of the repositoryclone_url_http
- The URL to use for cloning the repository over HTTPS.clone_url_ssh
- The URL to use for cloning the repository over SSH.
See the source of this document at Terraform.io