lastkrick / terraform-provider-lxd

LXD Resource provider for Terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-provider-lxd

LXD Resource provider for Terraform

Prerequisites

Installation

This provider is published in the Terraform Registry.

Follow the official instructions for declaring providers in your Terraform configuration here.

Quick Example

Add the following to your Terraform configuration:

terraform {
  required_providers {
    lxd = {
      source = "terraform-lxd/lxd"
    }
  }
}

Building from source

  1. Follow these instructions to setup a Golang development environment.
  2. Use go get to pull down this repository and compile the binary:
go get -v -u github.com/terraform-lxd/terraform-provider-lxd

Documentation

Full documentation can be found in the docs directory.

Known Limitations

Many of the base LXD images don't include an SSH server, therefore terraform will be unable to execute any provisioners. Either use the base ubuntu images from the ubuntu or ubuntu-daily or manually prepare a base image that includes SSH.

Contributors

Some recognition for great contributors to this project:

About

LXD Resource provider for Terraform

License:Mozilla Public License 2.0


Languages

Language:Go 93.5%Language:HCL 4.8%Language:Shell 1.0%Language:Makefile 0.7%