mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 13:30:57 +07:00
Initial platform config
This commit is contained in:
parent
4eb6362dbb
commit
3dee58fa4b
6
platform/main.tf
Normal file
6
platform/main.tf
Normal file
@ -0,0 +1,6 @@
|
||||
resource "openstack_images_image_v2" "centos8" {
|
||||
name = "CentOS_8"
|
||||
image_source_url = "https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2"
|
||||
container_format = "bare"
|
||||
disk_format = "qcow2"
|
||||
}
|
3
platform/providers.tf
Normal file
3
platform/providers.tf
Normal file
@ -0,0 +1,3 @@
|
||||
provider "openstack" {
|
||||
# source admin-openrc.sh
|
||||
}
|
8
platform/versions.tf
Normal file
8
platform/versions.tf
Normal file
@ -0,0 +1,8 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
openstack = {
|
||||
source = "terraform-provider-openstack/openstack"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
Loading…
Reference in New Issue
Block a user