Skip to content

Commit 02265da

Browse files
committed
fix: update s3 module version and change default attach deny insecure to true
1 parent eab8af4 commit 02265da

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Examples codified under the [`examples`](./examples) are intended to give users
105105
| <a name="input_api_vpce_security_group_ids"></a> [api\_vpce\_security\_group\_ids](#input\_api\_vpce\_security\_group\_ids) | IDs of security groups to attach to API endpoint | `list(string)` | `[]` | no |
106106
| <a name="input_api_vpce_subnet_ids"></a> [api\_vpce\_subnet\_ids](#input\_api\_vpce\_subnet\_ids) | IDs of subnets to associate with API endpoint | `list(string)` | `[]` | no |
107107
| <a name="input_api_vpce_tags"></a> [api\_vpce\_tags](#input\_api\_vpce\_tags) | A map of tags to apply to the API endpoint | `map(string)` | `{}` | no |
108-
| <a name="input_bucket_attach_deny_insecure_transport_policy"></a> [bucket\_attach\_deny\_insecure\_transport\_policy](#input\_bucket\_attach\_deny\_insecure\_transport\_policy) | Controls if S3 bucket should have deny non-SSL transport policy attacheds | `bool` | `false` | no |
108+
| <a name="input_bucket_attach_deny_insecure_transport_policy"></a> [bucket\_attach\_deny\_insecure\_transport\_policy](#input\_bucket\_attach\_deny\_insecure\_transport\_policy) | Controls if S3 bucket should have deny non-SSL transport policy attacheds | `bool` | `true` | no |
109109
| <a name="input_bucket_name"></a> [bucket\_name](#input\_bucket\_name) | Lambda artifact S3 bucket name | `string` | `""` | no |
110110
| <a name="input_create_agent_vpce"></a> [create\_agent\_vpce](#input\_create\_agent\_vpce) | Controls whether an agent endpoint should be created | `bool` | `false` | no |
111111
| <a name="input_create_api_vpce"></a> [create\_api\_vpce](#input\_create\_api\_vpce) | Controls whether a API endpoint should be created | `bool` | `false` | no |

examples/complete/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ Note that this example may create resources which will incur monetary charges on
3838
| Name | Source | Version |
3939
|------|--------|---------|
4040
| <a name="module_default"></a> [default](#module\_default) | ../../ | n/a |
41-
| <a name="module_log_bucket_1"></a> [log\_bucket\_1](#module\_log\_bucket\_1) | terraform-aws-modules/s3-bucket/aws | ~> 2 |
42-
| <a name="module_log_bucket_2"></a> [log\_bucket\_2](#module\_log\_bucket\_2) | terraform-aws-modules/s3-bucket/aws | ~> 2 |
43-
| <a name="module_security_group"></a> [security\_group](#module\_security\_group) | terraform-aws-modules/security-group/aws | ~> 4 |
44-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 3 |
45-
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | ~> 3.2 |
41+
| <a name="module_log_bucket_1"></a> [log\_bucket\_1](#module\_log\_bucket\_1) | terraform-aws-modules/s3-bucket/aws | ~> 2.0 |
42+
| <a name="module_log_bucket_2"></a> [log\_bucket\_2](#module\_log\_bucket\_2) | terraform-aws-modules/s3-bucket/aws | ~> 2.0 |
43+
| <a name="module_security_group"></a> [security\_group](#module\_security\_group) | terraform-aws-modules/security-group/aws | ~> 4.0 |
44+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 3.0 |
45+
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | ~> 3.0 |
4646

4747
## Resources
4848

examples/complete/main.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ resource "aws_kms_alias" "datadog" {
6565

6666
module "vpc" {
6767
source = "terraform-aws-modules/vpc/aws"
68-
version = "~> 3"
68+
version = "~> 3.0"
6969

7070
name = local.name
7171
cidr = "10.0.0.0/16"
@@ -98,7 +98,7 @@ module "vpc" {
9898

9999
module "vpc_endpoints" {
100100
source = "terraform-aws-modules/vpc/aws//modules/vpc-endpoints"
101-
version = "~> 3.2"
101+
version = "~> 3.0"
102102

103103
vpc_id = module.vpc.vpc_id
104104
security_group_ids = [module.security_group.security_group_id]
@@ -119,7 +119,7 @@ module "vpc_endpoints" {
119119

120120
module "security_group" {
121121
source = "terraform-aws-modules/security-group/aws"
122-
version = "~> 4"
122+
version = "~> 4.0"
123123

124124
name = local.name
125125
description = "Example security group"
@@ -150,7 +150,7 @@ module "security_group" {
150150

151151
module "log_bucket_1" {
152152
source = "terraform-aws-modules/s3-bucket/aws"
153-
version = "~> 2"
153+
version = "~> 2.0"
154154

155155
bucket = "logs-1-${random_pet.this.id}"
156156
force_destroy = true
@@ -177,7 +177,7 @@ module "log_bucket_1" {
177177

178178
module "log_bucket_2" {
179179
source = "terraform-aws-modules/s3-bucket/aws"
180-
version = "~> 2"
180+
version = "~> 2.0"
181181

182182
bucket = "logs-2-${random_pet.this.id}"
183183
force_destroy = true

modules/log_forwarder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module "datadog_log_forwarder" {
5555

5656
| Name | Source | Version |
5757
|------|--------|---------|
58-
| <a name="module_this_s3_bucket"></a> [this\_s3\_bucket](#module\_this\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | v2.6.0 |
58+
| <a name="module_this_s3_bucket"></a> [this\_s3\_bucket](#module\_this\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | v2.10.0 |
5959

6060
## Resources
6161

modules/log_forwarder/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ data "aws_region" "current" {}
2424

2525
module "this_s3_bucket" {
2626
source = "terraform-aws-modules/s3-bucket/aws"
27-
version = "v2.6.0"
27+
version = "v2.10.0"
2828

2929
create_bucket = var.create && var.create_bucket
3030
bucket = local.bucket_name

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ variable "bucket_name" {
5050
variable "bucket_attach_deny_insecure_transport_policy" {
5151
description = "Controls if S3 bucket should have deny non-SSL transport policy attacheds"
5252
type = bool
53-
default = false
53+
default = true
5454
}
5555

5656
# Log Forwarder S3 Objcet

0 commit comments

Comments
 (0)