Initial commit

This commit is contained in:
Magnus Andersson 2024-01-11 14:26:02 +01:00
commit a73f06f61b
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16
2 changed files with 27 additions and 0 deletions

23
main.tf Normal file
View 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
View file

@ -0,0 +1,4 @@
data "openstack_networking_subnet_v2" "public_sub" {
name = "public-v4" # Name of subnet to be used
}