NEW: openstack vm
This commit is contained in:
parent
0d2cf13790
commit
84fd6bb9fa
12
tf-modulised/openstack/vm.tf
Normal file
12
tf-modulised/openstack/vm.tf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
resource "openstack_compute_instance_v2" "tfvm1" {
|
||||||
|
name = "tfvm1"
|
||||||
|
image_id = "871c021d-baef-4010-ba8e-2a900a48f41c"
|
||||||
|
flavor_id = "b8159937-a5f9-46fb-97eb-2d59b67cfedd"
|
||||||
|
key_pair = "opc-key"
|
||||||
|
security_groups = ["default"]
|
||||||
|
|
||||||
|
network {
|
||||||
|
name = "shared"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user