added src header
This commit is contained in:
parent
c171e7a90c
commit
cab0852891
5 changed files with 41 additions and 1 deletions
|
|
@ -1,10 +1,18 @@
|
||||||
|
/*
|
||||||
|
Copyright 2023-2024 Schwarz IT KG <markus.brunsch@mail.schwarz>
|
||||||
|
|
||||||
|
Use of this source code is governed by an MIT-style
|
||||||
|
license that can be found in the LICENSE file or at
|
||||||
|
https://opensource.org/licenses/MIT.
|
||||||
|
*/
|
||||||
|
|
||||||
# Define required providers
|
# Define required providers
|
||||||
terraform {
|
terraform {
|
||||||
required_version = ">= 0.14.0"
|
required_version = ">= 0.14.0"
|
||||||
required_providers {
|
required_providers {
|
||||||
openstack = {
|
openstack = {
|
||||||
source = "terraform-provider-openstack/openstack"
|
source = "terraform-provider-openstack/openstack"
|
||||||
version = "1.52.1"
|
version = "1.53.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
Copyright 2023-2024 Schwarz IT KG <markus.brunsch@mail.schwarz>
|
||||||
|
|
||||||
|
Use of this source code is governed by an MIT-style
|
||||||
|
license that can be found in the LICENSE file or at
|
||||||
|
https://opensource.org/licenses/MIT.
|
||||||
|
*/
|
||||||
|
|
||||||
#
|
#
|
||||||
# Custom User Settings
|
# Custom User Settings
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
Copyright 2023-2024 Schwarz IT KG <markus.brunsch@mail.schwarz>
|
||||||
|
|
||||||
|
Use of this source code is governed by an MIT-style
|
||||||
|
license that can be found in the LICENSE file or at
|
||||||
|
https://opensource.org/licenses/MIT.
|
||||||
|
*/
|
||||||
|
|
||||||
# Upload VPN Appliance Image to OpenStack
|
# Upload VPN Appliance Image to OpenStack
|
||||||
resource "openstack_images_image_v2" "pfsense_image" {
|
resource "openstack_images_image_v2" "pfsense_image" {
|
||||||
name = "pfsense-2.7.2-amd64-image"
|
name = "pfsense-2.7.2-amd64-image"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
Copyright 2023-2024 Schwarz IT KG <markus.brunsch@mail.schwarz>
|
||||||
|
|
||||||
|
Use of this source code is governed by an MIT-style
|
||||||
|
license that can be found in the LICENSE file or at
|
||||||
|
https://opensource.org/licenses/MIT.
|
||||||
|
*/
|
||||||
|
|
||||||
# Create vNET Networks
|
# Create vNET Networks
|
||||||
resource "openstack_networking_network_v2" "vpc_network" {
|
resource "openstack_networking_network_v2" "vpc_network" {
|
||||||
name = "VPC Network"
|
name = "VPC Network"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
Copyright 2023-2024 Schwarz IT KG <markus.brunsch@mail.schwarz>
|
||||||
|
|
||||||
|
Use of this source code is governed by an MIT-style
|
||||||
|
license that can be found in the LICENSE file or at
|
||||||
|
https://opensource.org/licenses/MIT.
|
||||||
|
*/
|
||||||
|
|
||||||
# Create root Volume
|
# Create root Volume
|
||||||
resource "openstack_blockstorage_volume_v3" "fw_root_volume" {
|
resource "openstack_blockstorage_volume_v3" "fw_root_volume" {
|
||||||
name = "pfsense-2.7.2-root"
|
name = "pfsense-2.7.2-root"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue