Skip to content

Commit e6354eb

Browse files
committed
move coder deployment back to root, add templates as subrepo
1 parent 6478faa commit e6354eb

16 files changed

+17
-216
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
.idea
2+
.terraform
3+
.terraform.lock.hcl
4+
terraform.tfstate*
5+
config.auto.tfvars

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "coder-templates"]
2+
path = coder-templates
3+
url = git@github.com:tmsmr/coder-templates.git

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ This project serves two purposes:
2525
| coder_domain | | Desired Domain for Coder (Used for CODER_ACCESS_URL, CODER_WILDCARD_ACCESS_URL and Caddy/Let's Encrypt) |
2626
| acme_email | | Administrative Email address used for Let's Encrypt and for the initial Coder user |
2727

28+
#### Resource allocation
29+
*SSH*
30+
31+
Terraform creates TLS keys for the client and the host. The host key is installed later using cloud-init. The client key is registered in the Hetzner Cloud project and can be used later for regular maintenance tasks.
32+
33+
*Firewall*
34+
35+
36+
2837
## Templates
2938

3039
### [hcloud](templates/hcloud)
File renamed without changes.

coder-templates

Submodule coder-templates added at d3b0acf

coder/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

coder/main.tf renamed to main.tf

File renamed without changes.
File renamed without changes.
File renamed without changes.

templates/hcloud/cloud-config.yaml.tftpl

Lines changed: 0 additions & 68 deletions
This file was deleted.

templates/hcloud/main.tf

Lines changed: 0 additions & 144 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)