Skip to content

Commit 1de4651

Browse files
authored
Merge pull request #1 from lgallard/feature/name-output
Add repository name as output
2 parents e4a97f2 + fd6aee0 commit 1de4651

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.0 (May 28, 2020)
2+
3+
ENHANCEMENTS:
4+
5+
* Add repository name as output
6+
17
## 0.1.0 (May 19, 2020)
28

39
FEATURES:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ module "codecommit" {
8787
| arn | The ARN of the repository |
8888
| clone\_url\_http | The URL to use for cloning the repository over HTTPS. |
8989
| clone\_url\_ssh | The URL to use for cloning the repository over SSH. |
90+
| name | The name for the repository |
9091
| repository\_id | The ID of the repository |
9192

92-
9393
## Known issues
9494
During the developing of the module I found an issue when trying to create several triggers for a repository. This is an issue reported inr the AWS provider at [Multiple codecommit triggers](https://github.com/terraform-providers/terraform-provider-aws/issues/3209)

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ output "clone_url_ssh" {
1717
description = "The URL to use for cloning the repository over SSH."
1818
value = aws_codecommit_repository.repo.clone_url_ssh
1919
}
20+
21+
output "name" {
22+
description = "The name for the repository"
23+
value = aws_codecommit_repository.repo.name
24+
}

0 commit comments

Comments
 (0)