Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vineelsai26 committed Feb 1, 2024
1 parent d897b40 commit 7e1e570
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 162 deletions.
30 changes: 0 additions & 30 deletions terraform/cloudflare/A.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,6 @@ resource "cloudflare_record" "blog_2" {
comment = var.default_comment
}

resource "cloudflare_record" "adguard_home" {
name = "adguard.home"
proxied = false
ttl = 1
type = "A"
value = "10.0.0.2"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "home" {
name = "*.home"
proxied = false
ttl = 1
type = "A"
value = "10.0.0.4"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "oc" {
name = "*.oc"
proxied = false
Expand All @@ -57,13 +37,3 @@ resource "cloudflare_record" "oc" {
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "api_collab_home" {
name = "api.collab.home"
proxied = false
ttl = 1
type = "A"
value = "10.0.0.4"
zone_id = var.zone_id
comment = var.default_comment
}
50 changes: 0 additions & 50 deletions terraform/cloudflare/CNAME.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
resource "cloudflare_record" "verify_bing" {
name = "73cbc6edc61fddc335a4765e56ec4d32"
proxied = true
ttl = 1
type = "CNAME"
value = "verify.bing.com"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "algo" {
name = "algo"
proxied = true
Expand Down Expand Up @@ -68,16 +58,6 @@ resource "cloudflare_record" "balance" {
comment = var.default_comment
}

resource "cloudflare_record" "_domainconnect" {
name = "_domainconnect"
proxied = true
ttl = 1
type = "CNAME"
value = "connect.domains.google.com"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "material" {
name = "material"
proxied = true
Expand Down Expand Up @@ -158,36 +138,6 @@ resource "cloudflare_record" "collab" {
comment = var.default_comment
}

resource "cloudflare_record" "amazonses_domainkey_1" {
name = "acloled2losoaiyn3zxjxinf6qclsjvr._domainkey"
proxied = false
ttl = 1
type = "CNAME"
value = "acloled2losoaiyn3zxjxinf6qclsjvr.dkim.amazonses.com"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "amazonses_domainkey_2" {
name = "sn6cjudhadoldlhxvpgtqail76zucccs._domainkey"
proxied = false
ttl = 1
type = "CNAME"
value = "sn6cjudhadoldlhxvpgtqail76zucccs.dkim.amazonses.com"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "amazonses_domainkey_3" {
name = "slg7cli4o536qdyhdphrvhivpas2ebfv._domainkey"
proxied = false
ttl = 1
type = "CNAME"
value = "slg7cli4o536qdyhdphrvhivpas2ebfv.dkim.amazonses.com"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "acm_repo" {
name = data.terraform_remote_state.aws_prod.outputs.repo_acm_resource_record_name
proxied = false
Expand Down
11 changes: 0 additions & 11 deletions terraform/cloudflare/MX.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,3 @@ resource "cloudflare_record" "mx2" {
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "bounces_mx" {
name = "bounces"
priority = 10
proxied = false
ttl = 3600
type = "MX"
value = "feedback-smtp.us-east-1.amazonses.com"
zone_id = var.zone_id
comment = var.default_comment
}
39 changes: 0 additions & 39 deletions terraform/cloudflare/NS.tf

This file was deleted.

34 changes: 2 additions & 32 deletions terraform/cloudflare/TXT.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "cloudflare_record" "_dmarc" {
proxied = false
ttl = 1
type = "TXT"
value = "v=DMARC1; p=reject; sp=none; rua=mailto:5b5054640aef433192a0894df2245896@dmarc-reports.cloudflare.net; rf=afrf; pct=100; ri=86400"
value = "v=DMARC1; p=reject; sp=reject; rua=mailto:5b5054640aef433192a0894df2245896@dmarc-reports.cloudflare.net; rf=afrf; pct=100; ri=86400"
zone_id = var.zone_id
comment = var.default_comment
}
Expand All @@ -18,26 +18,6 @@ resource "cloudflare_record" "mail_domainkey" {
comment = var.default_comment
}

resource "cloudflare_record" "bounces_txt" {
name = "bounces"
proxied = false
ttl = 1
type = "TXT"
value = "v=spf1 include:amazonses.com ~all"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "resend_domainkey" {
name = "resend._domainkey"
proxied = false
ttl = 1
type = "TXT"
value = "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoAHnu+EG51z8b/980XwDfMayFHlDjxTR9YCnikzscJAWlEQL6nsIfGAK4H9YFSHajZrei8HTlLZDJuooiUpUfLaKpP9o719JbQPhrk7Vnxa7GkhOkmRZ8eiW5KIOombHKqOYiIowEOJgFUFpfnVlaKkh+EG7bio64KIabI1OnQQIDAQAB"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "spf1" {
name = "vineelsai.com"
proxied = false
Expand All @@ -48,17 +28,7 @@ resource "cloudflare_record" "spf1" {
comment = var.default_comment
}

resource "cloudflare_record" "terraform_managed_resource_53847af078f45ab162fbfc10ef082f66" {
name = "vineelsai.com"
proxied = false
ttl = 1
type = "TXT"
value = "have-i-been-pwned-verification=6ca260fac504238160cc8fc87c81f628"
zone_id = var.zone_id
comment = var.default_comment
}

resource "cloudflare_record" "terraform_managed_resource_ed86d8055d9367904c1951b0c7581d89" {
resource "cloudflare_record" "_visual_studio_marketplace_vineelsai" {
name = "_visual-studio-marketplace-vineelsai"
proxied = false
ttl = 1
Expand Down

0 comments on commit 7e1e570

Please sign in to comment.