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
+10-2
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,15 @@ We literally have [*hundreds of terraform modules*][terraform_modules] that are
64
64
## Usage
65
65
66
66
67
-
**IMPORTANT:** The `master` branch is used in `source` just as an example. In your code, do not pin to `master` because there may be breaking changes between releases.
68
-
Instead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest releases](https://github.com/cloudposse/terraform-aws-codebuild/releases).
67
+
**IMPORTANT:** We do not pin modules to versions in our examples because of the
68
+
difficulty of keeping the versions in the documentation in sync with the latest released versions.
69
+
We highly recommend that in your code you pin the version to the exact version you are
70
+
using so that your infrastructure remains stable, and update versions in a
71
+
systematic way so that they do not catch you by surprise.
72
+
73
+
Also, because of a bug in the Terraform registry ([hashicorp/terraform#21417](https://github.com/hashicorp/terraform/issues/21417)),
74
+
the registry shows many of our inputs as required when in fact they are optional.
75
+
The table below correctly indicates which inputs are required.
69
76
70
77
71
78
Include this module in your existing terraform code:
@@ -151,6 +158,7 @@ Available targets:
151
158
| Name | Description | Type | Default | Required |
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
161
+
| artifact\_location | Location of artifact. Applies only for artifact of type S3 |`string`|`""`| no |
154
162
| artifact\_type | The build output artifact's type. Valid values for this parameter are: CODEPIPELINE, NO\_ARTIFACTS or S3 |`string`|`"CODEPIPELINE"`| no |
155
163
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
156
164
| aws\_account\_id | (Optional) AWS Account ID. Used as CodeBuild ENV variable when building Docker images. For more info: http://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker.html|`string`|`""`| no |
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
25
+
| artifact\_location | Location of artifact. Applies only for artifact of type S3 |`string`|`""`| no |
25
26
| artifact\_type | The build output artifact's type. Valid values for this parameter are: CODEPIPELINE, NO\_ARTIFACTS or S3 |`string`|`"CODEPIPELINE"`| no |
26
27
| attributes | Additional attributes (e.g. `1`) |`list(string)`|`[]`| no |
27
28
| aws\_account\_id | (Optional) AWS Account ID. Used as CodeBuild ENV variable when building Docker images. For more info: http://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker.html|`string`|`""`| no |
0 commit comments