Skip to content

Commit

Permalink
Merge pull request #9656 from WhatIsHeDoing/patch-1
Browse files Browse the repository at this point in the history
Referencing CodeCommit repository in the trigger
  • Loading branch information
bflad authored Aug 7, 2019
2 parents f2866df + 2fff755 commit 7ef2a35
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions website/docs/r/codecommit_trigger.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ in all regions - available regions are listed
## Example Usage

```hcl
resource "aws_codecommit_repository" "test" {
repository_name = "test"
}
resource "aws_codecommit_trigger" "test" {
depends_on = ["aws_codecommit_repository.test"]
repository_name = "my_test_repository"
repository_name = "${aws_codecommit_repository.test.repository_name}"
trigger {
name = "noname"
name = "all"
events = ["all"]
destination_arn = "${aws_sns_topic.test.arn}"
}
Expand Down

0 comments on commit 7ef2a35

Please sign in to comment.