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
| access\_log\_bucket\_name | Name of the S3 bucket where s3 access log will be sent to |`string`|`""`| no |
187
188
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
188
189
| artifact\_filename | Artifact filename |`string`|`"lambda.zip"`| no |
189
190
| artifact\_url | URL template for the remote artifact |`string`|`"https://artifacts.cloudposse.com/$${module_name}/$${git_ref}/$${filename}"`| no |
@@ -197,14 +198,18 @@ Available targets:
197
198
| id\_length\_limit | Limit `id` to this many characters.<br>Set to `0` for unlimited length.<br>Set to `null` for default, which is `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
198
199
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
199
200
| lambda\_runtime | Lambda runtime |`string`|`"nodejs12.x"`| no |
201
+
| mfa\_delete | A boolean that indicates that versions of S3 objects can only be deleted with MFA. ( Terraform cannot apply changes of this value; https://github.com/terraform-providers/terraform-provider-aws/issues/629 ) |`bool`|`true`| no |
200
202
| name | Solution name, e.g. 'app' or 'jenkins' |`string`|`null`| no |
201
203
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp' |`string`|`null`| no |
202
204
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
203
205
| region | AWS Region the SES should reside in |`string`| n/a | yes |
204
206
| relay\_email | Email that used to relay from |`string`| n/a | yes |
207
+
| s3\_bucket\_encryption\_enabled | When set to 'true' the 'aws\_s3\_bucket' resource will have AES256 encryption enabled by default |`bool`|`true`| no |
205
208
| spf | DNS SPF record value |`string`|`"v=spf1 include:amazonses.com -all"`| no |
206
209
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
207
210
| tags | Additional tags (e.g. `map('BusinessUnit','XYZ')`|`map(string)`|`{}`| no |
211
+
| tracing\_config\_mode | Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with 'sampled=1'. If Active, Lambda will respect any tracing header it receives from an upstream service. |`string`|`"PassThrough"`| no |
212
+
| versioning\_enabled | A state of versioning. Versioning is a means of keeping multiple variants of an object in the same bucket |`bool`|`true`| no |
208
213
209
214
## Outputs
210
215
@@ -311,7 +316,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
| access\_log\_bucket\_name | Name of the S3 bucket where s3 access log will be sent to |`string`|`""`| no |
22
23
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
23
24
| artifact\_filename | Artifact filename |`string`|`"lambda.zip"`| no |
24
25
| artifact\_url | URL template for the remote artifact |`string`|`"https://artifacts.cloudposse.com/$${module_name}/$${git_ref}/$${filename}"`| no |
@@ -32,14 +33,18 @@
32
33
| id\_length\_limit | Limit `id` to this many characters.<br>Set to `0` for unlimited length.<br>Set to `null` for default, which is `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
33
34
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
34
35
| lambda\_runtime | Lambda runtime |`string`|`"nodejs12.x"`| no |
36
+
| mfa\_delete | A boolean that indicates that versions of S3 objects can only be deleted with MFA. ( Terraform cannot apply changes of this value; https://github.com/terraform-providers/terraform-provider-aws/issues/629 ) |`bool`|`true`| no |
35
37
| name | Solution name, e.g. 'app' or 'jenkins' |`string`|`null`| no |
36
38
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp' |`string`|`null`| no |
37
39
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
38
40
| region | AWS Region the SES should reside in |`string`| n/a | yes |
39
41
| relay\_email | Email that used to relay from |`string`| n/a | yes |
42
+
| s3\_bucket\_encryption\_enabled | When set to 'true' the 'aws\_s3\_bucket' resource will have AES256 encryption enabled by default |`bool`|`true`| no |
40
43
| spf | DNS SPF record value |`string`|`"v=spf1 include:amazonses.com -all"`| no |
41
44
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
42
45
| tags | Additional tags (e.g. `map('BusinessUnit','XYZ')`|`map(string)`|`{}`| no |
46
+
| tracing\_config\_mode | Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with 'sampled=1'. If Active, Lambda will respect any tracing header it receives from an upstream service. |`string`|`"PassThrough"`| no |
47
+
| versioning\_enabled | A state of versioning. Versioning is a means of keeping multiple variants of an object in the same bucket |`bool`|`true`| no |
Copy file name to clipboardExpand all lines: examples/complete/variables.tf
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,3 +37,8 @@ variable "artifact_filename" {
37
37
type=string
38
38
description="Artifact filename"
39
39
}
40
+
41
+
variable"mfa_delete" {
42
+
type=bool
43
+
description="A boolean that indicates that versions of S3 objects can only be deleted with MFA. ( Terraform cannot apply changes of this value; https://github.com/terraform-providers/terraform-provider-aws/issues/629 )"
Copy file name to clipboardExpand all lines: s3.tf
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,35 @@
1
1
resource"aws_s3_bucket""default" {
2
+
#bridgecrew:skip=BC_AWS_S3_13:Skipping `Enable S3 Bucket Logging` check until bridgecrew will support dynamic blocks (https://github.com/bridgecrewio/checkov/issues/776).
3
+
#bridgecrew:skip=BC_AWS_S3_14:Skipping `Ensure all data stored in the S3 bucket is securely encrypted at rest` check until bridgecrew will support dynamic blocks (https://github.com/bridgecrewio/checkov/issues/776).
0 commit comments