SkypLabs / terraform-ovh-template

Minimal Terraform template for OVH modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform OVH Template

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.

Requirements

Name Version
terraform >= 0.13.0
ovh ~> 0.11

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

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

Outputs

No outputs.

About

Minimal Terraform template for OVH modules

License:The Unlicense


Languages

Language:HCL 100.0%