Closed jamie-pate closed 5 months ago
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days.
Afaik this is still an issue?
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days.
not fixing itself.. 30 days seems really short for 'stale'
Hello @jamie-pate,
How do you export both variables? Tried on my side and I get it working properly.
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days.
Description
The documentation says that we should be able to pass username and password using environment variables:
https://registry.terraform.io/providers/OpenNebula/opennebula/latest/docs#environment-variables
But the
username
andpassword
fields are required in 1.3.1 andTerraform and Provider version
Terraform v1.6.2 on linux_amd64
Affected resources and data sources
provider
Terraform configuration
Expected behavior
As documented I expect to be able to omit the
username
andpassword
fields in the provider configuration and have the provider read them from the environment.Actual behavior
These properties are required, and if they are blank then the provider throws an error:
Steps to Reproduce
Create a configuration and try to use
OPENNEBULA_USERNAME
andOPENNEBULA_PASSWORD
following the documentationDebug output
No response
Panic output
No response
Important factoids
No response
References
https://registry.terraform.io/providers/OpenNebula/opennebula/latest/docs#environment-variables https://github.com/OpenNebula/terraform-provider-opennebula/issues/121#issuecomment-1112159627