Point rss.jeremydormitzer.com to FreshRSS instance
This commit is contained in:
parent
92a42a2382
commit
d8079c38ba
@ -42,3 +42,18 @@ data "terraform_remote_state" "wallabag" {
|
||||
key = "prod/wallabag.tfstate"
|
||||
}
|
||||
}
|
||||
|
||||
data "terraform_remote_state" "freshrss" {
|
||||
backend = "s3"
|
||||
|
||||
config = {
|
||||
skip_credentials_validation = true
|
||||
skip_metadata_api_check = true
|
||||
access_key = var.spaces_access_id
|
||||
secret_key = var.spaces_secret_key
|
||||
region = "us-east-1"
|
||||
endpoint = "nyc3.digitaloceanspaces.com"
|
||||
bucket = "jdormit-tf-state"
|
||||
key = "prod/freshrss.tfstate"
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ resource "digitalocean_record" "top_level_a" {
|
||||
domain = digitalocean_domain.jeremydormitzer_com.name
|
||||
type = "A"
|
||||
name = "@"
|
||||
value = "104.198.14.52" # Netlify load balancer
|
||||
value = "104.198.14.52" # Netlify load balancer
|
||||
ttl = 3600
|
||||
}
|
||||
|
||||
@ -91,3 +91,11 @@ resource "digitalocean_record" "wallabag" {
|
||||
value = data.terraform_remote_state.wallabag.outputs.ip_address
|
||||
ttl = 3600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "freshrss" {
|
||||
domain = digitalocean_domain.jeremydormitzer_com.name
|
||||
type = "A"
|
||||
name = "rss"
|
||||
value = data.terraform_remote_state.freshrss.outputs.ip_address
|
||||
ttl = 3600
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user