Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Vagrant box to test OpenStack-based OVH Public Cloud Servers with Terraform.

Notifications You must be signed in to change notification settings

clstokes/terraform-ovh-openstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ovh-openstack-test

This project creates a Vagrant box to test OpenStack-based OVH Public Cloud Servers with Terraform.

Warning! Running the Terraform examples in this project will create infrastructure resources and you may incur charges for these resources.

Setup

Once provisioned, the Vagrant box is configured with Terraform and OpenStack's swift and nova command-line tools.

  1. Create a .credentials directory in the root of this project. Note: This directory will be ignored by .gitignore.
  2. Place an ovh-openrc.sh file in .credentials/. See the OpenStack RC docs for the expected format of this file.
  3. Run vagrant up.
  4. Run vagrant ssh to connect to your Vagrant box once it's completed provisioning.

Terraform

To run Terraform commands from within the Vagrant box, run the commands below.

Apply

To create infrastructure resources, run:

$ terraform apply /vagrant/terraform

Destroy

To destroy infrastructure resources, run:

$ terraform destroy /vagrant/terraform

Teardown

If you've created resources using Terraform run the commands in the Destroy section before continuing.

To destroy the Vagrant box, run vagrant destroy.

About

Vagrant box to test OpenStack-based OVH Public Cloud Servers with Terraform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published