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
* Add support for codestar source in CodePipeline
* expose local codebuild cache variables
* Expose github_anonymous variable to allow setting it on the webhooks module
* bump version of cloudposse/terraform-aws-codebuild
* Updated README.md
Co-authored-by: actions-bot <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -220,15 +220,18 @@ Available targets:
220
220
| build\_timeout | How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed | `number` | `60` | no |
221
221
| buildspec | Declaration to use for building the project. [For more info](http://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html) | `string` | `""` | no |
222
222
| cache\_type | The type of storage that will be used for the AWS CodeBuild project cache. Valid values: NO\_CACHE, LOCAL, and S3. Defaults to S3. If cache\_type is S3, it will create an S3 bucket for storing codebuild cache inside | `string` | `"S3"` | no |
223
+
| codestar\_connection\_arn | CodeStar connection ARN required for Bitbucket integration with CodePipeline | `string` | `""` | no |
223
224
| delimiter | Delimiter between `namespace`, `stage`, `name` and `attributes` | `string` | `"-"` | 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 | <pre>list(object(<br> {<br> name = string<br> value = string<br> }))</pre> | `[]` | no |
227
-
| github\_oauth\_token | GitHub OAuth Token with permissions to access private repositories | `string` | n/a | yes |
228
+
| github\_anonymous | Github Anonymous API (if `true`, token must not be set as GITHUB\_TOKEN or `github_token`) | `bool` | `false` | no |
229
+
| github\_oauth\_token | GitHub OAuth Token with permissions to access private repositories | `string` | `""` | no |
228
230
| 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(string)` | <pre>[<br> "push"<br>]</pre> | no |
229
231
| 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 |
230
232
| 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` | n/a | yes |
231
233
| 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 |
234
+
| local\_cache\_modes | Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: LOCAL\_SOURCE\_CACHE, LOCAL\_DOCKER\_LAYER\_CACHE, and LOCAL\_CUSTOM\_CACHE | `list(string)` | `[]` | no |
232
235
| name | Name of the application | `string` | n/a | yes |
233
236
| namespace | Namespace (e.g. `eg` or `cp`) | `string` | `""` | no |
234
237
| poll\_source\_changes | Periodically check the location of your source content and run the pipeline if changes are detected | `bool` | `false` | no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,18 @@
29
29
| build\_timeout | How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed |`number`|`60`| no |
30
30
| buildspec | Declaration to use for building the project. [For more info](http://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html)|`string`|`""`| no |
31
31
| cache\_type | The type of storage that will be used for the AWS CodeBuild project cache. Valid values: NO\_CACHE, LOCAL, and S3. Defaults to S3. If cache\_type is S3, it will create an S3 bucket for storing codebuild cache inside |`string`|`"S3"`| no |
32
+
| codestar\_connection\_arn | CodeStar connection ARN required for Bitbucket integration with CodePipeline |`string`|`""`| no |
32
33
| delimiter | Delimiter between `namespace`, `stage`, `name` and `attributes`|`string`|`"-"`| no |
| enabled | Enable `CodePipeline` creation |`bool`|`true`| no |
35
36
| 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 | <pre>list(object(<br> {<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
36
-
| github\_oauth\_token | GitHub OAuth Token with permissions to access private repositories |`string`| n/a | yes |
37
+
| github\_anonymous | Github Anonymous API (if `true`, token must not be set as GITHUB\_TOKEN or `github_token`) |`bool`|`false`| no |
38
+
| github\_oauth\_token | GitHub OAuth Token with permissions to access private repositories |`string`|`""`| no |
37
39
| 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(string)`| <pre>[<br> "push"<br>]</pre> | no |
38
40
| 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 |
39
41
| 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`| n/a | yes |
40
42
| 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 |
43
+
| local\_cache\_modes | Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: LOCAL\_SOURCE\_CACHE, LOCAL\_DOCKER\_LAYER\_CACHE, and LOCAL\_CUSTOM\_CACHE |`list(string)`|`[]`| no |
41
44
| name | Name of the application |`string`| n/a | yes |
42
45
| namespace | Namespace (e.g. `eg` or `cp`) |`string`|`""`| no |
43
46
| poll\_source\_changes | Periodically check the location of your source content and run the pipeline if changes are detected |`bool`|`false`| no |
description="CodeStar connection ARN required for Bitbucket integration with CodePipeline"
207
+
default=""
208
+
}
209
+
197
210
variable"cache_type" {
198
211
type=string
199
212
default="S3"
200
213
description="The type of storage that will be used for the AWS CodeBuild project cache. Valid values: NO_CACHE, LOCAL, and S3. Defaults to S3. If cache_type is S3, it will create an S3 bucket for storing codebuild cache inside"
201
-
}
214
+
}
215
+
216
+
variable"local_cache_modes" {
217
+
type=list(string)
218
+
default=[]
219
+
description="Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: LOCAL_SOURCE_CACHE, LOCAL_DOCKER_LAYER_CACHE, and LOCAL_CUSTOM_CACHE"
0 commit comments