Compare commits
2 commits
58825953b2
...
5dd9b6b01c
Author | SHA1 | Date | |
---|---|---|---|
5dd9b6b01c | |||
ec7f0f4c8e |
3 changed files with 26 additions and 16 deletions
13
headscale.tf
Normal file
13
headscale.tf
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
module "headscale" {
|
||||||
|
#source = "github.com/matthewbaggett/terraform_modules//products/headscale"
|
||||||
|
source = "./lib/grey.ooo/products/headscale"
|
||||||
|
depends_on = [module.traefik]
|
||||||
|
stack_name = "headscale"
|
||||||
|
placement_constraints = ["node.hostname == Passing-by-and-thought-id-drop-in"]
|
||||||
|
#traefik = merge(var.treafik_defaults, { domain = "s3.${var.base_domain}" })
|
||||||
|
domain = "headscale.${var.base_domain}"
|
||||||
|
}
|
||||||
|
output "headscale" {
|
||||||
|
value = module.headscale
|
||||||
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 48626c5e64249f52064d28eb014babeefc3d7be4
|
Subproject commit 432f5a4f37da6963706473396e78f172dae1decc
|
27
terraform.tf
27
terraform.tf
|
@ -28,19 +28,16 @@ terraform {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# backend "s3" {
|
backend "s3" {
|
||||||
# bucket = "terraform"
|
bucket = "techinc-iac"
|
||||||
# key = "ti-iac.tfstate"
|
key = "terraform.tfstate"
|
||||||
# profile = "techinc-tf"
|
profile = "techinc-iac"
|
||||||
# shared_credentials_files = ["~/.aws/credentials"]
|
shared_credentials_files = ["~/.aws/credentials"]
|
||||||
# endpoints = {
|
region = "" # Region validation will be skipped
|
||||||
# s3 = "http://california.ti:9000"
|
skip_credentials_validation = true # Skip AWS related checks and validations
|
||||||
# }
|
skip_requesting_account_id = true
|
||||||
# region = "main" # Region validation will be skipped
|
skip_metadata_api_check = true
|
||||||
# skip_credentials_validation = true # Skip AWS related checks and validations
|
skip_region_validation = true
|
||||||
# skip_requesting_account_id = true
|
use_path_style = false
|
||||||
# skip_metadata_api_check = true
|
}
|
||||||
# skip_region_validation = true
|
|
||||||
# use_path_style = true # Enable path-style S3 URLs (https://<HOST>/<BUCKET> https://developer.hashicorp.com/terraform/language/settings/backends/s3#use_path_style
|
|
||||||
# }
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue