diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2023-02-27 13:18:01 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2023-02-27 13:18:01 +0100 |
commit | 2db366457d598ab7fa0d86b57b40b12bf1779964 (patch) | |
tree | a6c031843cf1d594ab22b94d6754e1f4dd0bd7f4 /terraform/conflatorio-docker | |
parent | 811e75e8ff711c1c2d176cafb987eb94581010fa (diff) | |
download | infra-2db366457d598ab7fa0d86b57b40b12bf1779964.tar.gz infra-2db366457d598ab7fa0d86b57b40b12bf1779964.tar.bz2 infra-2db366457d598ab7fa0d86b57b40b12bf1779964.tar.xz infra-2db366457d598ab7fa0d86b57b40b12bf1779964.zip |
wip
Diffstat (limited to 'terraform/conflatorio-docker')
-rw-r--r-- | terraform/conflatorio-docker/backend.tf | 12 | ||||
-rw-r--r-- | terraform/conflatorio-docker/main.tf | 24 | ||||
-rw-r--r-- | terraform/conflatorio-docker/terragrunt.hcl | 3 |
3 files changed, 18 insertions, 21 deletions
diff --git a/terraform/conflatorio-docker/backend.tf b/terraform/conflatorio-docker/backend.tf new file mode 100644 index 0000000..d2de289 --- /dev/null +++ b/terraform/conflatorio-docker/backend.tf @@ -0,0 +1,12 @@ +# Generated by Terragrunt. Sig: nIlQXj57tbuaRZEa +terraform { + backend "s3" { + bucket = "terraform-a6726272-73ff-11ed-8bdd-c79eb8376e05" + key = "conflatorio-docker/terraform.tfstate" + skip_region_validation = true + skip_credentials_validation = true + skip_metadata_api_check = true + region = "eu-central-1" + endpoint = "eu-central-1.linodeobjects.com" + } +} diff --git a/terraform/conflatorio-docker/main.tf b/terraform/conflatorio-docker/main.tf index f4cbb61..8a01be6 100644 --- a/terraform/conflatorio-docker/main.tf +++ b/terraform/conflatorio-docker/main.tf @@ -1,16 +1,6 @@ terraform { required_version = "~> 1.3.5" - backend "s3" { - bucket = "terraform-a6726272-73ff-11ed-8bdd-c79eb8376e05" - key = "conflatorio-docker/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" @@ -32,14 +22,6 @@ data "sops_file_entry" "linode_token" { data_key = "linode_token" } -# docker run -d --name ipv6nat --privileged --network host --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock:ro robbertkl/ipv6nat - -# resource "docker_network" "bridge6" { -# name = "bridge6" -# ipv6 = true -# -# ipam_options = { -# "com.docker.network.enable_ipv6" = true -# } -# } - +output "foo" { + value = "foo!" +} diff --git a/terraform/conflatorio-docker/terragrunt.hcl b/terraform/conflatorio-docker/terragrunt.hcl new file mode 100644 index 0000000..e147285 --- /dev/null +++ b/terraform/conflatorio-docker/terragrunt.hcl @@ -0,0 +1,3 @@ +include "root" { + path = find_in_parent_folders() +} |