mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
[OUTPUTS] For tunnel
This commit is contained in:
parent
cb0fbebeb1
commit
458704b15c
2 changed files with 7 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ resource "cloudflare_tunnel" "gensokyo_apartment_tunnel" {
|
|||
account_id = local.account_id
|
||||
name = "Apartment"
|
||||
secret = var.cloudflare_apartment_tunnel
|
||||
config_src = "local"
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "gensokyo_root" {
|
||||
|
|
|
|||
6
outputs.tf
Normal file
6
outputs.tf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
output "apartment_cloudflare_tunnel_id" {
|
||||
value = cloudflare_tunnel.gensokyo_apartment_tunnel.id
|
||||
}
|
||||
output "apartment_cloudflare_tunnel_token" {
|
||||
value = cloudflare_tunnel.gensokyo_apartment_tunnel.tunnel_token
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue