Skip to content

Commit 123f290

Browse files
committed
module inputs
1 parent dc6a404 commit 123f290

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ module "pipeline" {
6262
module "pipeline" {
6363
...
6464
branch = "main"
65+
mode = "SUPERSEDED"
6566
detect_changes = true
6667
kms_key = aws_kms_key.this.arn
6768
access_logging_bucket = aws_s3_bucket.this.id
@@ -85,7 +86,9 @@ module "pipeline" {
8586
]
8687
}
8788
```
88-
`branch` is the branch to source. It defaults to "main" and may need to be altered if you are using pre-commit hooks that default to "master".
89+
`branch` is the branch to source. It defaults to `main`.
90+
91+
`mode` is [pipeline execution mode](https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works.html#concepts-how-it-works-executions). It defaults to `SUPERSEDED`.
8992

9093
`detect_changes` is used with third-party services, like GitHub. It enables AWS CodeConnections to invoke the pipeline when there is a commit to the repo.
9194

0 commit comments

Comments
 (0)