diff --git a/README.md b/README.md index 1d8478b..77fa42f 100644 --- a/README.md +++ b/README.md @@ -132,12 +132,8 @@ No modules. | [public\_ssh\_key](#input\_public\_ssh\_key) | Public SSH key for accessing the nodes | `string` | n/a | yes | | [start\_delay](#input\_start\_delay) | The amount of time the cluster virtual machines will wait on XCP-NG host startup | `number` | `0` | no | | [tags](#input\_tags) | A list of key+value pairs to apply to the deployment | `list(string)` | `[]` | no | -| [xoa\_api\_url](#input\_xoa\_api\_url) | URL for Xen Orchestra API (can be set via XOA\_API\_URL environment variable) | `string` | n/a | yes | -| [xoa\_ignore\_ssl](#input\_xoa\_ignore\_ssl) | Ignore SSL verification for Xen Orchestra API (can be set via XOA\_IGNORE\_SSL environment variable) | `bool` | `null` | no | | [xoa\_network\_name](#input\_xoa\_network\_name) | Default network for virtual machines as seen in Xen Orchestra | `string` | `null` | no | -| [xoa\_password](#input\_xoa\_password) | Password for Xen Orchestra API (can be set via XOA\_PASSWORD environment variable) | `string` | `null` | no | | [xoa\_pool\_name](#input\_xoa\_pool\_name) | Default name of the XCP-ng pool as seen in Xen Orchestra | `string` | `null` | no | -| [xoa\_username](#input\_xoa\_username) | Username for Xen Orchestra API (can be set via XOA\_USERNAME environment variable) | `string` | `null` | no | ## Outputs diff --git a/variables.tf b/variables.tf index 43495ef..d7f87a0 100644 --- a/variables.tf +++ b/variables.tf @@ -123,11 +123,6 @@ variable "master_tags" { } # Xen Orchestra Settings -variable "xoa_api_url" { - description = "URL for Xen Orchestra API (can be set via XOA_API_URL environment variable)" - type = string -} - variable "xoa_pool_name" { description = "Default name of the XCP-ng pool as seen in Xen Orchestra" type = string @@ -152,23 +147,6 @@ variable "node_xoa_pool_name" { default = null } -variable "xoa_username" { - description = "Username for Xen Orchestra API (can be set via XOA_USERNAME environment variable)" - type = string - default = null -} - -variable "xoa_password" { - description = "Password for Xen Orchestra API (can be set via XOA_PASSWORD environment variable)" - type = string - default = null -} - -variable "xoa_ignore_ssl" { - description = "Ignore SSL verification for Xen Orchestra API (can be set via XOA_IGNORE_SSL environment variable)" - type = bool - default = null -} variable "start_delay" { description = "The amount of time the cluster virtual machines will wait on XCP-NG host startup" diff --git a/xen_data.tf b/xen_data.tf index 763f144..6230c11 100644 --- a/xen_data.tf +++ b/xen_data.tf @@ -1,15 +1,3 @@ -provider "xenorchestra" { - # Configuration options - # Must be ws or wss - url = var.xoa_api_url # Or set XOA_URL environment variable - username = var.xoa_username # Or set XOA_USER environment variable - password = var.xoa_password # Or set XOA_PASSWORD environment variable - insecure = var.xoa_ignore_ssl # Or set XOA_INSECURE environment variable to any value -} - -provider "macaddress" {} - - # docs : https://github.com/terra-farm/terraform-provider-xenorchestra/blob/master/docs/resources/vm.md locals {