- Offre utilisée : https://www.ovhcloud.com/fr/public-cloud/
Bonjour à toutes et à tous,
J'utilise **public-cloud** :
Sur la documentation (https://help.ovhcloud.com/csm/fr-public-cloud-billing-change-rate?id=kb_article_view&sysparm_article=KB0050543) j'ai vu qu'il est possible d'utiliser l'attribut ovh-monthly-instance pour passer à une facturation au moi sans passer par l'interface.
Je souhaite faire la chose suivante avec la terraform.
variable "monthly_billing" {
type = bool
default = false
}
resource "openstack_compute_instance_v2" "server_1" {
metadata = {
ovh-monthly-instance = var.monthly_billing ? 1 : 0
}
}
C'est bien la valeur à 1 de la metadata ovh-monthly-instance qui active la facturation au mois.
Si la valeur est à zéro la facturation est à l'heure ?
J'ai bien conscience que si je passe de 1 à 0 ceci ne va pas passer d'une facturation au mois vers une facturation à l'heure.
Merci.
Public Cloud OVHcloud - Terraform - facturation au mois
Related questions
- Dimensionnement serveur MySQL
44419
07.11.2018 12:32
- [RESOLU] Connexion impossible en SSH
37150
05.06.2019 20:05
- Bonjour, Je n'est reçus aucun mot de passe root lors de mon achat!
32528
05.02.2018 20:47
- Gitlab private docker registry
32321
16.03.2018 13:05
- Ssh connection timed out port 22
31389
11.12.2019 08:21
- Configuration IP failover avec netplan (Ubuntu 17.10)
31108
12.01.2018 23:23
- Problème connexion ssh
30718
04.02.2018 09:46
- IP Failover sur Debian 9
30461
18.11.2016 20:40
- Instance Public Cloud en "error"
27935
15.12.2025 10:04
- Connexion OpenStack Swift Object Storage
24197
11.04.2019 10:09