Separates Into SubModules

This commit is contained in:
2023-09-22 17:13:24 -03:00
parent 0eca3287d1
commit 6a36d215b9
19 changed files with 592 additions and 288 deletions

36
dns/dns.tf Normal file
View File

@@ -0,0 +1,36 @@
terraform {
required_providers {
godaddy = {
source = "zaneatwork/godaddy"
version = "1.9.10"
}
}
}
variable "public_ip" {
type = string
}
resource "godaddy_domain_record" "default" {
domain = "hideyoshi.com.br"
overwrite = false
record {
name = "staging "
type = "A"
data = "${var.public_ip}"
ttl = 600
priority = 0
}
record {
name = "api.staging "
type = "A"
data = "${var.public_ip}"
ttl = 600
priority = 0
}
}