You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ module "pipeline" {
62
62
module "pipeline" {
63
63
...
64
64
branch = "main"
65
+
mode = "SUPERSEDED"
65
66
detect_changes = true
66
67
kms_key = aws_kms_key.this.arn
67
68
access_logging_bucket = aws_s3_bucket.this.id
@@ -85,7 +86,9 @@ module "pipeline" {
85
86
]
86
87
}
87
88
```
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`.
89
92
90
93
`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.
CustomData ="This action will approve the deployment of resources in ${var.pipeline_name}. Please ensure that you review the build logs of the plan stage before approving."
0 commit comments