Template of a minimal Terraform module for OVH. It is itself based on my Terraform Module Template.
This module follows the standard structure described in the Terraform documentation.
The following non-standard but commonly used files and folders have also been added:
local.tf
data.tf
providers.tf
templates
versions.tf
A pre-commit configuration file is present to automatically format and validate the code and update the readme file upon Git commits.
Name | Version |
---|---|
terraform | >= 0.13.0 |
ovh | ~> 0.11 |
No providers.
No modules.
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
enabled | Whether or not this module should create any resources. | bool |
true |
no |
ovh_application_key | The API Application Key. If omitted, the OVH_APPLICATION_KEY environment variable is used. |
string |
null |
no |
ovh_application_secret | The API Application Secret. If omitted, the OVH_APPLICATION_SECRET environment variable is used. |
string |
null |
no |
ovh_consumer_key | The API Consumer key. If omitted, the OVH_CONSUMER_KEY environment variable is used. |
string |
null |
no |
ovh_endpoint | Specify which API endpoint to use. It can be set using the OVH_ENDPOINT environment variable. e.g. ovh-eu or ovh-ca . |
string |
null |
no |
No outputs.