Initial commit
This commit is contained in:
commit
a73f06f61b
23
main.tf
Normal file
23
main.tf
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Define required providers
|
||||||
|
terraform {
|
||||||
|
required_version = ">= 0.14.0"
|
||||||
|
required_providers {
|
||||||
|
openstack = {
|
||||||
|
source = "terraform-provider-openstack/openstack"
|
||||||
|
version = "~> 1.53.0"
|
||||||
|
}
|
||||||
|
local = {
|
||||||
|
source = "hashicorp/local"
|
||||||
|
version = "2.4.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "openstack" {
|
||||||
|
# Source application credentials to use environemnt variables to provide auth
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "local" {
|
||||||
|
# Configuration options
|
||||||
|
}
|
||||||
|
|
4
network.tf
Normal file
4
network.tf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
data "openstack_networking_subnet_v2" "public_sub" {
|
||||||
|
name = "public-v4" # Name of subnet to be used
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue