initial commit
Signed-off-by: Jason Hall <imjasonh@gmail.com>
This commit is contained in:
commit
4dc1b58f2f
20 changed files with 1398 additions and 0 deletions
9
terraform/dns.tf
Normal file
9
terraform/dns.tf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
resource "google_dns_record_set" "forgejo" {
|
||||
count = var.manage_dns ? 1 : 0
|
||||
|
||||
name = "${var.domain}."
|
||||
type = "A"
|
||||
ttl = 300
|
||||
managed_zone = var.dns_managed_zone
|
||||
rrdatas = [google_compute_address.forgejo.address]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue