instance

julienlevasseur/instance/openstack

Terraform Module HCL OPENSTACK

Terraform OpenStack Instance Module

Install
module "instance" {
source = "julienlevasseur/instance/openstack"
version = "0.3.0"
}
plain text: /constructs/tfmod-julienlevasseur-instance-openstack/install.txt
⭐ Source on GitHub 📦 Registry page
README

README Provide a basic configuration to describe an OpenStack instance with Terraform. Usage ``bash export TF_VAR_os_network='foo' ` `HCL variable "os_network" {} variable "instance_name" { default = "foo" } variable "instance_image_name" { default = "foo" } variable "instance_flavor_name" { default = "foo" } variable "instance_key_pair" { default = "foo" } module "openstack_instance" { source = "julienlevasseur/instance/openstack" name = "${var.instance_name}" image_name = "${var.instance_image_name}" flavor_name = "${var.instance_flavor_name}" key_pair = "${var.instance_key_pair}" security_groups = "${list(module.openstack_secgroup_ssh.sg_name)}" network = "${var.os_network}" } `` Authors Julien Levasseur (https://github.com/julienlevasseur)

Inputs (6)
NameTypeDescriptionDefault
nameanyA unique name for the resource required
image_nameanyThe name of the desired image for the server required
flavor_nameanyThe name of the desired flavor for the server required
key_pairanyThe key pair must already be created and associated with the tenant's account required
security_groupsanyAn array of one or more security group names to associate with the server required
networkanyAn array of one or more networks to attach to the instance required
Outputs (2)
name — The name of the instance resource
access_ip_v4 — The ip of the instance resource
Resources (1)
openstack_compute_instance_v2
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud OPENSTACK
Total downloads823
Inputs6
Outputs2
Resources1
Namespacejulienlevasseur
Updated