Local Vars overrides
Add Cloudflare Access Application
This commit is contained in:
parent
e9f2cfac20
commit
2097d3cf7c
7
ahoskingit/terraform/cloudflare_access.tf
Normal file
7
ahoskingit/terraform/cloudflare_access.tf
Normal file
@ -0,0 +1,7 @@
|
||||
resource "cloudflare_access_application" "money" {
|
||||
zone_id = cloudflare_zone.ahosking_com.id
|
||||
name = "money"
|
||||
domain = "money.ahosking.com"
|
||||
type = "self_hosted"
|
||||
session_duration = "168h"
|
||||
}
|
5
ahoskingit/terraform/main_override.tf
Normal file
5
ahoskingit/terraform/main_override.tf
Normal file
@ -0,0 +1,5 @@
|
||||
provider "cloudflare" {
|
||||
# email = null
|
||||
# api_key = null
|
||||
api_token = null
|
||||
}
|
@ -21,10 +21,14 @@ terraform {
|
||||
}
|
||||
}
|
||||
}
|
||||
variable "CLOUDFLARE_ACCOUNT_ID" {}
|
||||
variable "CLOUDFLARE_EMAIL" {}
|
||||
variable "CLOUDFLARE_API_KEY" {}
|
||||
variable "CLOUDFLARE_API_TOKEN" {}
|
||||
|
||||
provider "cloudflare" {
|
||||
email = var.CLOUDFLARE_EMAIL
|
||||
api_key = var.CLOUDFLARE_API_KEY
|
||||
# email = var.CLOUDFLARE_EMAIL
|
||||
# api_key = var.CLOUDFLARE_API_KEY
|
||||
api_token = var.CLOUDFLARE_API_TOKEN
|
||||
}
|
||||
|
||||
|
@ -7,11 +7,6 @@ variable "aws_region" {
|
||||
default = "us-east-1"
|
||||
}
|
||||
|
||||
variable "CLOUDFLARE_ACCOUNT_ID" {}
|
||||
variable "CLOUDFLARE_EMAIL" {}
|
||||
variable "CLOUDFLARE_API_KEY" {}
|
||||
variable "CLOUDFLARE_API_TOKEN" {}
|
||||
|
||||
variable "home_ip" {
|
||||
}
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
resource "cloudflare_access_application" "influx" {
|
||||
zone_id = cloudflare_zone.ahosking.id
|
||||
name = ""
|
||||
domain = ""
|
||||
type = "self_hosted"
|
||||
sesion_duration = ""
|
||||
}
|
Loading…
Reference in New Issue
Block a user