Data Source: aws_codecommit_repository

The CodeCommit Repository data source allows the ARN, Repository ID, Repository URL for HTTP and Repository URL for SSH to be retrieved for an CodeCommit repository.

Example Usage

data "aws_codecommit_repository" "test" {
  repository_name = "MyTestRepository"
}

Argument Reference

The following arguments are supported:

  • repository_name - (Required) The name for the repository. This needs to be less than 100 characters.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/codecommit_repository.html