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
chore: limit access to cidr ranges and optimize nat egress (#44)
* chore: disable aws provider and move to override
* chore: allow limiting access to cidr ranges
* fix: script adjustments and ssh within vpc
* fix: allow ec2 instances to pull outside data
* chore: update golden file + recreation
* chore: add requestTimeout to zbctl command
* fix: properly configure security groups for nlb
* chore: restructure ports and remove duplicate egress
* chore: remove commented egress rule
forgot to completly remove it in the last commit
|[aws_ami.debian](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami)| data source |
154
+
|[aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones)| data source |
155
+
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
156
+
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
156
157
## Inputs
157
158
158
159
| Name | Description | Type | Default | Required |
@@ -170,11 +171,13 @@ SECURITY: The default is false. If set to true will use self-signed certificates
170
171
| <aname="input_enable_vpc_logging"></a> [enable\_vpc\_logging](#input\_enable\_vpc\_logging)| Enable VPC flow logging to CloudWatch Logs |`bool`|`false`| no |
171
172
| <aname="input_generate_ssh_key_pair"></a> [generate\_ssh\_key\_pair](#input\_generate\_ssh\_key\_pair)| Generate an SSH key pair for the EC2 instances over the use of pub\_key\_path. Meant for testing purposes / temp environments. |`bool`|`false`| no |
172
173
| <aname="input_instance_count"></a> [instance\_count](#input\_instance\_count)| The number of instances to create |`number`|`3`| no |
174
+
| <aname="input_limit_access_to_cidrs"></a> [limit\_access\_to\_cidrs](#input\_limit\_access\_to\_cidrs)| List of CIDR blocks to allow access to ssh of Bastion and LoadBalancer |`list(string)`| <pre>[<br/> "0.0.0.0/0"<br/>]</pre> | no |
173
175
| <aname="input_opensearch_disk_size"></a> [opensearch\_disk\_size](#input\_opensearch\_disk\_size)| The size of the OpenSearch disk in GiB |`number`|`50`| no |
174
176
| <aname="input_opensearch_engine_version"></a> [opensearch\_engine\_version](#input\_opensearch\_engine\_version)| The engine version of the OpenSearch cluster |`string`|`"2.15"`| no |
175
177
| <aname="input_opensearch_instance_count"></a> [opensearch\_instance\_count](#input\_opensearch\_instance\_count)| The number of instances to create |`number`|`3`| no |
176
178
| <aname="input_opensearch_instance_type"></a> [opensearch\_instance\_type](#input\_opensearch\_instance\_type)| The instance type to use for the OpenSearch instances |`string`|`"t3.small.search"`| no |
177
179
| <aname="input_opensearch_log_types"></a> [opensearch\_log\_types](#input\_opensearch\_log\_types)| The types of logs to publish to CloudWatch Logs |`list(string)`| <pre>[<br/> "SEARCH_SLOW_LOGS",<br/> "INDEX_SLOW_LOGS",<br/> "ES_APPLICATION_LOGS"<br/>]</pre> | no |
180
+
| <aname="input_ports"></a> [ports](#input\_ports)| The ports to open for the security groups within the VPC |`map(number)`| <pre>{<br/> "camunda_metrics_endpoint": 9600,<br/> "camunda_web_ui": 8080,<br/> "connectors_port": 9090,<br/> "opensearch_https": 443,<br/> "ssh": 22,<br/> "zeebe_broker_network_command_api_port": 26501,<br/> "zeebe_gateway_cluster_port": 26502,<br/> "zeebe_gateway_network_port": 26500<br/>}</pre> | no |
178
181
| <aname="input_prefix"></a> [prefix](#input\_prefix)| The prefix to use for names of resources |`string`|`"camunda"`| no |
179
182
| <aname="input_pub_key_path"></a> [pub\_key\_path](#input\_pub\_key\_path)| The path to the public key to use for the EC2 instances for SSH access |`string`|`"~/.ssh/id_rsa.pub"`| no |
180
183
## Outputs
@@ -187,6 +190,7 @@ SECURITY: The default is false. If set to true will use self-signed certificates
187
190
| <aname="output_bastion_ip"></a> [bastion\_ip](#output\_bastion\_ip)| (Optional) The public IP address of the Bastion instance. |
188
191
| <aname="output_camunda_ips"></a> [camunda\_ips](#output\_camunda\_ips)| The private IP addresses of the Camunda instances. |
189
192
| <aname="output_nlb_endpoint"></a> [nlb\_endpoint](#output\_nlb\_endpoint)| (Optional) The DNS name of the Network Load Balancer (NLB) to access the Camunda REST API. |
193
+
| <aname="output_ports"></a> [ports](#output\_ports)| The ports to open in the security group within the VPC. For easier consumption in scripts. |
190
194
| <aname="output_private_key"></a> [private\_key](#output\_private\_key)| (Optional) This private key is meant for testing purposes only and enabled via the variable `generate_ssh_key_pair`. |
191
195
| <aname="output_public_key"></a> [public\_key](#output\_public\_key)| (Optional) This public key is meant for testing purposes only and enabled via the variable `generate_ssh_key_pair`. Please supply your own public key via the variable `pub_key_path`. |
0 commit comments