instance
4ltieres/instance/openstack
Terraform module to create openstack Instance
[![Maintained by altdump.io]] Instance Openstack Module This repo contains a set of tfs for deploying openstack instances How to use this Module Module definition: ``go module "instance" { source = "4ltieres/instance/openstack" version = "0.1.0" // Number of instances to be created, default = 1 instances_count = 1 // name is a prefix to be used when instance will be created name = "instance_name" // security_groups names list to be used on instance security_groups = ["default"] // security_group_ids list to be used on port when defined security_group_ids = ["security_group_id"] // a list of networks to be used on instance create, it will iterate over list and attach multiple networks networks = [{ uuid = "network_uid" name = "network_name" }] // port definition to create port separated fro
| Name | Type | Description | Default |
|---|---|---|---|
| security_group_ids | string | security_group_ids list to associate with instance | required |
| security_groups | string | security_groups list to associate with instance | required |
| image | string | Image that will be used to create instance | required |
| flavor | string | The Instance Flavor | required |
| networks | list | The network list used to attach the instance | [] |
| cloud_init | map | cloud_init is a map containing template and variables to render | {} |
| instance_count | string | Number of instances to launch | 1 |
| name | string | Name to be used on all resources as prefix | "instance_name" |
| port | list | The config to define create_port | [] |
| tags | map | tags map to use on instance metadata | {} |
| stop_before_destroy | string | Boolean to define if instance needs stop before destroy | false |