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
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,9 +58,11 @@ module "my_instance" {
58
58
| <aname="input_name"></a> [name](#input_name)| Name of the server. |`string`|`null`| no |
59
59
| <aname="input_placement_group_id"></a> [placement_group_id](#input_placement_group_id)| ID of the placement group the server is attached to. |`string`|`null`| no |
60
60
| <aname="input_private_networks"></a> [private_networks](#input_private_networks)| Private networks associated with the server. |`list(string)`|`[]`| no |
61
+
| <aname="input_project_id"></a> [project_id](#input_project_id)| ID of the project the namespace is associated with. Ressource will be created in the project set at the provider level if null. |`string`|`null`| no |
61
62
| <aname="input_security_group_id"></a> [security_group_id](#input_security_group_id)| ID of the security group the server is attached to. |`string`|`null`| no |
62
63
| <aname="input_state"></a> [state](#input_state)| State of the server. Default to 'started'. Possible values are: 'started', 'stopped' or 'standby'. |`string`|`"started"`| no |
63
64
| <aname="input_tags"></a> [tags](#input_tags)| Tags associated with the server and dedicated ip address. |`list(any)`|`[]`| no |
65
+
| <aname="input_zone"></a> [zone](#input_zone)| The zone in which the instance should be created. Ressource will be created in the zone set at the provider level if null. |`string`|`null`| no |
Copy file name to clipboardExpand all lines: variables.tf
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,9 +67,9 @@ variable "enable_public_ipv4" {
67
67
}
68
68
69
69
variable"private_networks" {
70
-
type=list(string)
70
+
type=list(string)
71
71
description="Private networks associated with the server."
72
-
default=[]
72
+
default=[]
73
73
}
74
74
75
75
# Start settings
@@ -106,3 +106,16 @@ variable "state" {
106
106
# description = "User data associated with the server. Use the cloud-init key to use cloud-init on your instance. You can define values using:\n- string\n- UTF-8 encoded file content using file\n- Binary files using filebase64."
107
107
# default = null
108
108
# }
109
+
110
+
# Location & Tenancy
111
+
variable"project_id" {
112
+
description="ID of the project the namespace is associated with. Ressource will be created in the project set at the provider level if null."
113
+
type=string
114
+
default=null
115
+
}
116
+
117
+
variable"zone" {
118
+
description="The zone in which the instance should be created. Ressource will be created in the zone set at the provider level if null."
0 commit comments