You are here: Home / LBN / Up2date / Cloud Computing / BastionLinux 36 / golang-github-dmacvicar-terraform-provider-libvirt-0.6.14-0.1.gited8e2bb.lbn36.x86_64

golang-github-dmacvicar-terraform-provider-libvirt-0.6.14-0.1.gited8e2bb.lbn36.x86_64

Package Attributes
RPM  golang-github-dmacvicar-terraform-provider-libvirt-0.6.14-0.1.gited8e2bb.lbn36.x86_64.rpm Architecture  x86_64 Size  39827344 Created  2022/09/06 06:03:08 UTC
Package Specification
Summary Terraform provider for libvirt
Group Unspecified
License APLv2
Home Page http://github.com/dmacvicar/terraform-provider-libvirt
Description

This is a terraform provider that lets you provision servers on a libvirt host via Terraform.

You should update your .terraformrc and refer to the binary:

providers { libvirt = "/usr/bin/terraform-provider-libvirt" }

Using the provider

Here is an example that will setup the following:

A virtual server resource

(create this as libvirt.tf and run terraform commands from this directory):

provider "libvirt" { uri = "qemu:///system" }

You can also set the URI in the LIBVIRT_DEFAULT_URI environment variable.

Now, define a libvirt domain:

resource "libvirt_domain" "terraform_test" { name = "terraform_test" }

Now you can see the plan, apply it, and then destroy the infrastructure:

$ terraform plan $ terraform apply $ terraform destroy

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(FileDigests)  
Provides
golang-github-dmacvicar-terraform-provider-libvirt
golang-github-dmacvicar-terraform-provider-libvirt(x86-64)
terraform(provider.libvirt)

Document Actions