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
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,6 @@ module "myapp-project" {
136
136
137
137
}
138
138
```
139
-
140
139
## Requirements
141
140
142
141
No requirements.
@@ -180,13 +179,12 @@ No Modules.
180
179
| 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.The default is 60 minutes. |`number`|`60`| no |
181
180
| cache | Information about the cache storage for the project. |`any`|`{}`| no |
182
181
| cache\_location | The location where the AWS CodeBuild project stores cached resources. For type S3 the value must be a valid S3 bucket name/prefix. (Required when cache `type` is `S3`) |`string`|`null`| no |
183
-
| 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`. (Required when cache type is `LOCAL`) |`list`|`[]`| no |
182
+
| 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`. (Required when cache type is `LOCAL`) |`list(any)`|`[]`| no |
184
183
| cache\_type | The type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`, `LOCAL`, and `S3`. |`string`|`"NO_CACHE"`| no |
185
184
| cloudwatch\_logs | Configuration for the builds to store log data to CloudWatch. |`any`|`{}`| no |
186
185
| cloudwatch\_logs\_group\_name | The group name of the logs in CloudWatch Logs. |`string`|`null`| no |
187
186
| cloudwatch\_logs\_status | Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED.`|`string`|`"ENABLED"`| no |
188
187
| cloudwatch\_logs\_stream\_name | The stream name of the logs in CloudWatch Logs. |`string`|`null`| no |
189
-
| codebuild\_secondary\_source | Information about the project's secondary source code. |`any`|`{}`| no |
190
188
| codebuild\_secondary\_source\_auth | Information about the authorization settings for AWS CodeBuild to access the source code to be built. |`map`|`{}`| no |
191
189
| codebuild\_secondary\_source\_auth\_resource | The resource value that applies to the specified authorization type. |`string`|`null`| no |
192
190
| codebuild\_secondary\_source\_auth\_type | The authorization type to use. The only valid value is OAUTH |`string`|`"OAUTH"`| no |
@@ -199,13 +197,14 @@ No Modules.
199
197
| codebuild\_secondary\_source\_location | The location of the source code from git or s3. |`string`|`null`| no |
200
198
| codebuild\_secondary\_source\_report\_build\_status | Set to true to report the status of a build's start and finish to your source provider. This option is only valid when the type is `BITBUCKET` or `GITHUB`. |`bool`|`false`| no |
201
199
| codebuild\_secondary\_source\_type | The type of repository that contains the secondary source code to be built. Valid values for this parameter are: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3` or `NO_SOURCE`. |`string`|`"CODEPIPELINE"`| no |
200
+
| codebuild\_secondary\_sources | Information about the project's secondary sources code. See the related codebuild source objects for descriptions of each parameter.<br> The parameter `source_identifier` is the name of the directory to clone the secondary source into as a sibling to the primary source code directory.<br> If this variable is omitted, no secondary sources are created.<br><br> eg:<pre>codebuild_secondary_sources = [<br> {<br> type = "GITHUB"<br> location = "https://github.com/myprofile/myproject-1.git"<br> source_identifier = "my_awesome_project1"<br> },<br> {<br> type = "GITHUB"<br> location = "https://github.com/myprofile/myproject-2.git"<br> git_clone_depth = 1<br> source_identifier = "my_awesome_project2"<br> report_build_status = true<br> insecure_ssl = true<br> }<br> ]</pre> |`any`|`[]`| no |
202
201
| codebuild\_source | Information about the project's input source code. |`any`|`{}`| no |
203
-
| codebuild\_source\_auth | Information about the authorization settings for AWS CodeBuild to access the source code to be built. |`map`|`{}`| no |
202
+
| codebuild\_source\_auth | Information about the authorization settings for AWS CodeBuild to access the source code to be built. |`map(any)`|`{}`| no |
204
203
| codebuild\_source\_auth\_resource | The resource value that applies to the specified authorization type. |`string`|`null`| no |
205
204
| codebuild\_source\_auth\_type | The authorization type to use. The only valid value is OAUTH |`string`|`"OAUTH"`| no |
206
205
| codebuild\_source\_buildspec | The build spec declaration to use for this build project's related builds. This must be set when type is iNO\_SOURCE |`string`|`null`| no |
207
206
| codebuild\_source\_git\_clone\_depth | Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is `CODECOMMIT`. |`number`|`0`| no |
208
-
| codebuild\_source\_git\_submodules\_config | Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is `CODECOMMIT`. |`map`|`{}`| no |
207
+
| codebuild\_source\_git\_submodules\_config | Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is `CODECOMMIT`. |`map(any)`|`{}`| no |
209
208
| codebuild\_source\_git\_submodules\_config\_fetch\_submodules | If set to true, fetches Git submodules for the AWS CodeBuild build project. |`bool`|`true`| no |
210
209
| codebuild\_source\_insecure\_ssl | Ignore SSL warnings when connecting to source control. |`bool`|`false`| no |
211
210
| codebuild\_source\_location | The location of the source code from git or s3. |`string`|`null`| no |
@@ -220,9 +219,9 @@ No Modules.
220
219
| environment\_image | The Docker image to use for this build project. Valid values include Docker images provided by CodeBuild (e.g `aws/codebuild/standard:2.0`), Docker Hub images (e.g. `hashicorp/terraform:latest`), and full Docker repository URIs such as those for ECR (e.g. `137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest`) |`string`|`"aws/codebuild/standard:2.0"`| no |
221
220
| environment\_image\_pull\_credentials\_type | The type of credentials AWS CodeBuild uses to pull images in your build. Available values for this parameter are `CODEBUID` or `SERVICE_ROLE`. When you use a cross-account or private registry image, you must use SERVICE\_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CODEBUILD credentials. |`string`|`"CODEBUILD"`| no |
222
221
| environment\_privileged\_mode | If set to true, enables running the Docker daemon inside a Docker container. |`bool`|`false`| no |
223
-
| environment\_registry\_credential | Information about credentials for access to a private Docker registry. Registry Credential config blocks are documented below. |`map`|`{}`| no |
222
+
| environment\_registry\_credential | Information about credentials for access to a private Docker registry. Registry Credential config blocks are documented below. |`map(any)`|`{}`| no |
224
223
| environment\_type | The type of build environment to use for related builds. Available values are: `LINUX_CONTAINER`, `LINUX_GPU_CONTAINER`, `WINDOWS_CONTAINER` or `ARM_CONTAINER`. |`string`|`"LINUX_CONTAINER"`| no |
225
-
| environment\_variables | A list of sets of environment variables to make available to builds for this build project. |`list`|`[]`| no |
224
+
| environment\_variables | A list of sets of environment variables to make available to builds for this build project. |`list(any)`|`[]`| no |
226
225
| name | The projects name. |`string`| n/a | yes |
227
226
| queued\_timeout | How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out.The default is 8 hours. |`number`|`480`| no |
228
227
| s3\_logs | Configuration for the builds to store log data to S3. |`any`|`{}`| no |
Copy file name to clipboardExpand all lines: variables.tf
+31-8Lines changed: 31 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ variable "cache_location" {
122
122
123
123
variable"cache_modes" {
124
124
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`. (Required when cache type is `LOCAL`)"
description="Information about the Git submodules configuration for an AWS CodeBuild build project. Git submodules config blocks are documented below. This option is only valid when the type is `CODECOMMIT`."
0 commit comments