terraform/openstack/init/01-images.tf

24 lines
738 B
Terraform
Raw Normal View History

2023-07-05 14:58:06 +00:00
resource "openstack_images_image_v2" "cirros" {
name = "cirros"
local_file_path = "/home/arif/images/cirros-0.5.1-x86_64-disk.img"
container_format = "bare"
disk_format = "qcow2"
visibility = "public"
}
resource "openstack_images_image_v2" "bionic-raw" {
name = "bionic-raw"
local_file_path = "/home/arif/images/bionic-server-cloudimg-amd64-raw.img"
container_format = "bare"
disk_format = "raw"
visibility = "public"
}
resource "openstack_images_image_v2" "focal-raw" {
name = "focal-raw"
local_file_path = "/home/arif/images/focal-server-cloudimg-amd64-raw.img"
container_format = "bare"
disk_format = "raw"
visibility = "public"
}