File tree Expand file tree Collapse file tree 2 files changed +64
-0
lines changed
Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ # Terraform files
2+ **/.terraform/*
3+ .terraform.lock.hcl
4+ *.tfstate
5+ *.tfstate.*
6+
7+ # Crash log files
8+ crash.log
9+
10+ # Exclude all .tfvars files, which are likely to contain sensitive data, such as
11+ # passwords, private keys, and other secrets. These should not be part of version
12+ # control as they are data points which are potentially sensitive and subject
13+ # to change depending on the environment.
14+ *.tfvars
15+
16+ # Ignore override files as they are usually used to override resources locally and so
17+ # are not checked in
18+ override.tf
19+ override.tf.json
20+ *_override.tf
21+ *_override.tf.json
22+
23+ # Ignore CLI configuration files
24+ .terraformrc
25+ terraform.rc
26+ .terraform/*
27+
28+ # Ignore editor config files
29+ .editorconfig
30+
31+ # Ignore pre-commit config
32+ .pre-commit-config.yaml
33+
34+ # Ignore release config
35+ .releaserc.json
36+
37+ # Ignore GitHub workflows
38+ .github/
39+
40+ # Ignore OS-specific files
41+ .DS_Store
42+ Thumbs.db
43+
44+ # Ignore IDE-specific files
45+ .vscode/
46+ .idea/
Original file line number Diff line number Diff line change @@ -119,6 +119,24 @@ resource "aws_vpc_endpoint" "s3_endpoint" {
119119 }
120120}
121121
122+ resource "aws_vpc_endpoint" "s3table_endpoint" {
123+ count = var. create_new_vpc ? 1 : 0
124+
125+ vpc_id = module. automq_byoc_vpc [0 ]. vpc_id
126+ service_name = " com.amazonaws.${ var . cloud_provider_region } .s3tables"
127+ vpc_endpoint_type = " Interface"
128+ security_group_ids = [aws_security_group . vpc_endpoint_sg [0 ]. id ]
129+ subnet_ids = module. automq_byoc_vpc [0 ]. private_subnets
130+
131+ private_dns_enabled = true
132+
133+ tags = {
134+ Name = " automq-byoc-ec2-endpoint-${ var . automq_byoc_env_id } "
135+ automqVendor = " automq"
136+ automqEnvironmentID = var.automq_byoc_env_id
137+ }
138+ }
139+
122140locals {
123141 automq_byoc_vpc_id = var. create_new_vpc ? module. automq_byoc_vpc [0 ]. vpc_id : var. automq_byoc_vpc_id
124142 automq_byoc_env_console_public_subnet_id = var. create_new_vpc ? element (module. automq_byoc_vpc [0 ]. public_subnets , 0 ) : var. automq_byoc_env_console_public_subnet_id
You can’t perform that action at this time.
0 commit comments