aboutsummaryrefslogtreecommitdiff
path: root/terraform/unifi-controller/main.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/unifi-controller/main.tf')
-rw-r--r--terraform/unifi-controller/main.tf36
1 files changed, 36 insertions, 0 deletions
diff --git a/terraform/unifi-controller/main.tf b/terraform/unifi-controller/main.tf
new file mode 100644
index 0000000..98d559a
--- /dev/null
+++ b/terraform/unifi-controller/main.tf
@@ -0,0 +1,36 @@
+terraform {
+ required_version = "~> 1.3.5"
+
+ # backend "s3" {
+ # bucket = "terraform-a6726272-73ff-11ed-8bdd-c79eb8376e05"
+ # key = "unifi/terraform.tfstate"
+ # region = "eu-central-1"
+ # skip_region_validation = true
+ # skip_credentials_validation = true
+ # skip_metadata_api_check = true
+ # endpoint = "eu-central-1.linodeobjects.com"
+ # }
+
+ required_providers {
+ docker = {
+ source = "kreuzwerker/docker"
+ version = "3.0.1"
+ }
+ linode = {
+ source = "linode/linode"
+ version = "1.30.0"
+ }
+ postgresql = {
+ source = "cyrilgdn/postgresql"
+ version = "1.18.0"
+ }
+ }
+}
+
+provider "docker" {
+ host = "ssh://conflatorio.vpn.trygvis.io"
+}
+
+locals {
+ domain_name = "unifi.vpn.trygvis.io"
+}