Skip to content

extinctpotato/ovh-dns-zone-terraform-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ovh-dns-zone-terraform-importer

This repository contains a simple script that fetches DNS zone data from OVHcloud and converts it to a .tf file understood by the official Terraform OVH provider.

Additionally, a shell script with terraform import commands is generated. This way it is possible to pull the existing infrastructure state.

Usage

NOTE: the script doesn't work on Python 3.10 due to a bug in python-ovh.

In order to generate the files run python3 import.py <secrets.tf file path> example.com example_com.tf example_com.sh.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages