This module create an Openstack instance
resource "openstack_compute_keypair_v2" "keypair" {
name = "my-keypair"
}
module "compute" {
source = "shepherdcloud/instance/openstack"
instance_name = "BLUE"
instance_count = 2
image_name = "cirros"
flavor_name = "m1.tiny"
keypair = "${openstack_compute_keypair_v2.keypair.name}"
network_name = "my-network"
security_group_names = ["default"]
}
Provide advanced use cases here.
Paste the links to your sample code in examples
folder.
List all input variables of your module.
List all output variables of your module.