From 89ff3e55ce10ba9f02ea02c4e19df6690fd2d782 Mon Sep 17 00:00:00 2001 From: darox Date: Tue, 11 Jun 2024 16:10:55 +0200 Subject: [PATCH 1/2] vars: fix bastion user data type --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 48d2dff..cd8861e 100644 --- a/variables.tf +++ b/variables.tf @@ -123,7 +123,7 @@ variable "bastion_host_ssh_public_key" { variable "bastion_host_user_data" { default = [] description = "The user data to use for the bastion host." - type = string + type = list(string) } variable "bastion_host_user_data_base64" { From 7f0ac36580c1dff6bc96178c172b7a0c52c73195 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 11 Jun 2024 14:11:49 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 77d78fc..5ec827b 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ An opinionated Terraform module that can be used to create and manage an VPC in | [bastion\_host\_instance\_type](#input\_bastion\_host\_instance\_type) | The instance type to use for the bastion host. | `string` | `"t2.micro"` | no | | [bastion\_host\_security\_group\_rules](#input\_bastion\_host\_security\_group\_rules) | A list of security group rules to apply to the bastion host. | `list(any)` |
[
{
"cidr_blocks": [
"0.0.0.0/0"
],
"description": "Allow all outbound traffic",
"from_port": 0,
"protocol": -1,
"to_port": 0,
"type": "egress"
},
{
"cidr_blocks": [
"0.0.0.0/0"
],
"description": "Allow all inbound to SSH",
"from_port": 22,
"protocol": "tcp",
"to_port": 22,
"type": "ingress"
}
]
| no | | [bastion\_host\_ssh\_public\_key](#input\_bastion\_host\_ssh\_public\_key) | If specified, will be used as the public SSH key for the bastion host. | `string` | `""` | no | -| [bastion\_host\_user\_data](#input\_bastion\_host\_user\_data) | The user data to use for the bastion host. | `string` | `[]` | no | +| [bastion\_host\_user\_data](#input\_bastion\_host\_user\_data) | The user data to use for the bastion host. | `list(string)` | `[]` | no | | [bastion\_host\_user\_data\_base64](#input\_bastion\_host\_user\_data\_base64) | The user data to use for the bastion host, base64 encoded. | `string` | `""` | no | | [cidr](#input\_cidr) | The CIDR to be used for the VPC. | `string` | n/a | yes | | [enable\_ipv6](#input\_enable\_ipv6) | Whether to enable the ipv6 stack. | `bool` | `false` | no |