https://github.com/skyplabs/terraform-ovh-template
Minimal Terraform template for OVH modules
https://github.com/skyplabs/terraform-ovh-template
Last synced: about 2 months ago
JSON representation
Minimal Terraform template for OVH modules
- Host: GitHub
- URL: https://github.com/skyplabs/terraform-ovh-template
- Owner: SkypLabs
- License: unlicense
- Created: 2021-03-04T12:15:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-23T16:54:01.000Z (over 4 years ago)
- Last Synced: 2025-04-09T07:14:19.209Z (6 months ago)
- Language: HCL
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform OVH Template
Template of a minimal Terraform module for OVH. It is itself based on my
[Terraform Module Template][terraform-module-template].This module follows the [standard structure][standard-module-structure]
described in the [Terraform documentation][terraform-docs].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][pre-commit] configuration file is present to automatically format
and validate the code and update the readme file upon Git commits.## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.0 |
| [ovh](#requirement\_ovh) | ~> 0.11 |## Providers
No providers.
## Modules
No modules.
## Resources
No resources.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [enabled](#input\_enabled) | Whether or not this module should create any resources. | `bool` | `true` | no |
| [ovh\_application\_key](#input\_ovh\_application\_key) | The API Application Key. If omitted, the `OVH_APPLICATION_KEY` environment variable is used. | `string` | `null` | no |
| [ovh\_application\_secret](#input\_ovh\_application\_secret) | The API Application Secret. If omitted, the `OVH_APPLICATION_SECRET` environment variable is used. | `string` | `null` | no |
| [ovh\_consumer\_key](#input\_ovh\_consumer\_key) | The API Consumer key. If omitted, the `OVH_CONSUMER_KEY` environment variable is used. | `string` | `null` | no |
| [ovh\_endpoint](#input\_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 |## Outputs
No outputs.
[pre-commit]: https://pre-commit.com/ "pre-commit Website"
[standard-module-structure]: https://www.terraform.io/docs/modules/index.html#standard-module-structure "Terraform Documentation - Standard Module Structure"
[terraform-docs]: https://www.terraform.io/docs/ "Terraform Documentation"
[terraform-module-template]: https://github.com/SkypLabs/terraform-module-template "SkypLabs - Terraform Module Template"