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
| environment_variables | A list of maps, that contain both the key 'name' and the key 'value' to be used as additional environment variables for the build. | list | `<list>` | no |
163
-
| github_oauth_token | GitHub Oauth Token with permissions to access private repositories | string | - | yes |
164
-
| github_webhook_events | A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/). | list | `<list>` | no |
163
+
| github_oauth_token | GitHub OAuth Token with permissions to access private repositories | string | - | yes |
164
+
| github_webhook_events | A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) | list | `<list>` | no |
165
+
| github_webhooks_token | GitHub OAuth Token with permissions to create webhooks. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable | string | `` | no |
165
166
| image_repo_name | ECR repository name to store the Docker image built by this module. Used as CodeBuild ENV variable when building Docker images. [For more info](http://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker.html) | string | `UNSET` | no |
166
167
| image_tag | Docker image tag in the ECR repository, e.g. 'latest'. Used as CodeBuild ENV variable when building Docker images. [For more info](http://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker.html) | string | `latest` | no |
167
168
| name | Solution name, e.g. 'app' or 'jenkins' | string | `app` | no |
@@ -170,6 +171,7 @@ Available targets:
170
171
| privileged_mode | If set to true, enables running the Docker daemon inside a Docker container on the CodeBuild instance. Used when building Docker images | string | `false` | no |
171
172
| repo_name | GitHub repository name of the application to be built and deployed to ECS. | string | - | yes |
| s3_bucket_force_destroy | A boolean that indicates all objects should be deleted from the CodePipeline artifact store S3 bucket so that the bucket can be destroyed without error | string | `false` | no |
173
175
| service_name | ECS Service Name | string | - | yes |
174
176
| stage | Stage, e.g. 'prod', 'staging', 'dev', or 'test' | string | `default` | no |
| environment_variables | A list of maps, that contain both the key 'name' and the key 'value' to be used as additional environment variables for the build. | list |`<list>`| no |
18
-
| github_oauth_token | GitHub Oauth Token with permissions to access private repositories | string | - | yes |
19
-
| github_webhook_events | A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/). | list |`<list>`| no |
18
+
| github_oauth_token | GitHub OAuth Token with permissions to access private repositories | string | - | yes |
19
+
| github_webhook_events | A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/)| list |`<list>`| no |
20
+
| github_webhooks_token | GitHub OAuth Token with permissions to create webhooks. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable | string | `` | no |
20
21
| image_repo_name | ECR repository name to store the Docker image built by this module. Used as CodeBuild ENV variable when building Docker images. [For more info](http://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker.html)| string |`UNSET`| no |
21
22
| image_tag | Docker image tag in the ECR repository, e.g. 'latest'. Used as CodeBuild ENV variable when building Docker images. [For more info](http://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker.html)| string |`latest`| no |
22
23
| name | Solution name, e.g. 'app' or 'jenkins' | string |`app`| no |
@@ -25,6 +26,7 @@
25
26
| privileged_mode | If set to true, enables running the Docker daemon inside a Docker container on the CodeBuild instance. Used when building Docker images | string |`false`| no |
26
27
| repo_name | GitHub repository name of the application to be built and deployed to ECS. | string | - | yes |
| s3_bucket_force_destroy | A boolean that indicates all objects should be deleted from the CodePipeline artifact store S3 bucket so that the bucket can be destroyed without error | string |`false`| no |
28
30
| service_name | ECS Service Name | string | - | yes |
29
31
| stage | Stage, e.g. 'prod', 'staging', 'dev', or 'test' | string |`default`| no |
Copy file name to clipboardExpand all lines: variables.tf
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,19 @@ variable "service_name" {
29
29
}
30
30
31
31
variable"github_oauth_token" {
32
-
description="GitHub Oauth Token with permissions to access private repositories"
32
+
type="string"
33
+
description="GitHub OAuth Token with permissions to access private repositories"
34
+
}
35
+
36
+
variable"github_webhooks_token" {
37
+
type="string"
38
+
default=""
39
+
description="GitHub OAuth Token with permissions to create webhooks. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable"
33
40
}
34
41
35
42
variable"github_webhook_events" {
36
-
description="A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/)."
43
+
description="A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/)"
description="The value to match on (e.g. refs/heads/{Branch})"
167
175
default="refs/heads/{Branch}"
168
176
}
177
+
178
+
variable"s3_bucket_force_destroy" {
179
+
description="A boolean that indicates all objects should be deleted from the CodePipeline artifact store S3 bucket so that the bucket can be destroyed without error"
0 commit comments