Skip to content

Commit

Permalink
fix: Change type of Terraform variable (#3)
Browse files Browse the repository at this point in the history
* fix: Change type of Terraform variable

* docs: Generate README.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
dhoppe and github-actions[bot] authored Jan 14, 2022
1 parent b976dc1 commit e9e2167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ No modules.
| <a name="input_rescue"></a> [rescue](#input\_rescue) | Enable and boot in to the specified rescue system | `string` | `null` | no |
| <a name="input_server_type"></a> [server\_type](#input\_server\_type) | Name of the server type this server should be created with | `string` | n/a | yes |
| <a name="input_ssh_keys"></a> [ssh\_keys](#input\_ssh\_keys) | SSH key IDs or names which should be injected into the server at creation time | `list(string)` | `[]` | no |
| <a name="input_subnet_id"></a> [subnet\_id](#input\_subnet\_id) | ID of the sub-network which should be added to the server | `number` | `null` | no |
| <a name="input_subnet_id"></a> [subnet\_id](#input\_subnet\_id) | ID of the sub-network which should be added to the server | `string` | `null` | no |
| <a name="input_user_data"></a> [user\_data](#input\_user\_data) | Cloud-Init user data to use during server creation | `string` | `null` | no |

## Outputs
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ variable "network_id" {
}

variable "subnet_id" {
type = number
type = string
default = null
description = "ID of the sub-network which should be added to the server"
}
Expand All @@ -113,4 +113,4 @@ variable "ip" {
type = string
default = null
description = "IP to request to be assigned to this server"
}
}

0 comments on commit e9e2167

Please sign in to comment.