Skip to content

Commit 01482a8

Browse files
committed
updating
1 parent 3749dd2 commit 01482a8

File tree

5 files changed

+35
-1
lines changed

5 files changed

+35
-1
lines changed

zones/observatudo.com.br/.terraform.lock.hcl

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
terraform {
22
backend "gcs" {
3-
bucket = "terraform-state-observatudo"
3+
bucket = "tfstate-observatudo"
44
prefix = "zones/observatudo.com.br"
55
}
66
}

zones/observatudo.com.br/jdias.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
resource "google_dns_record_set" "jdias_cname" {
2+
name = "jdias.observatudo.com.br."
3+
type = "CNAME"
4+
ttl = 300
5+
managed_zone = google_dns_managed_zone.observatudo.name
6+
project = var.project_id
7+
rrdatas = ["jjdsnt.github.io."]
8+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
variable "project_id" {
2+
description = "ID do projeto GCP onde a zona DNS será gerenciada"
3+
type = string
4+
}

zones/observatudo.com.br/zone.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ resource "google_dns_managed_zone" "observatudo" {
22
name = "observatudo-zone"
33
dns_name = "observatudo.com.br."
44
description = "Zona DNS principal para o domínio observatudo.com.br"
5+
project = var.project_id
56
}

0 commit comments

Comments
 (0)