Point wallabag.jeremydormitzer.com at new wallabag instance
This commit is contained in:
parent
b9458e9fa2
commit
bf237f19ed
@ -1,18 +1,3 @@
|
||||
data "terraform_remote_state" "jdormit_website" {
|
||||
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/jdormit-website.tfstate"
|
||||
}
|
||||
}
|
||||
|
||||
data "terraform_remote_state" "git_jeremydormitzer_com" {
|
||||
backend = "s3"
|
||||
|
||||
@ -42,3 +27,18 @@ data "terraform_remote_state" "syncthing" {
|
||||
key = "prod/syncthing-packer.tfstate"
|
||||
}
|
||||
}
|
||||
|
||||
data "terraform_remote_state" "wallabag" {
|
||||
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/wallabag.tfstate"
|
||||
}
|
||||
}
|
||||
|
@ -88,6 +88,6 @@ resource "digitalocean_record" "wallabag" {
|
||||
domain = digitalocean_domain.jeremydormitzer_com.name
|
||||
type = "A"
|
||||
name = "wallabag"
|
||||
value = data.terraform_remote_state.jdormit_website.outputs.jdormit_website_ip_address
|
||||
value = data.terraform_remote_state.wallabag.outputs.ip_address
|
||||
ttl = 3600
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user