update file : 3 errors
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 15s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 15s
This commit is contained in:
2
main.tf
2
main.tf
@@ -26,7 +26,7 @@ locals {
|
|||||||
ingress_rules = concat(
|
ingress_rules = concat(
|
||||||
[
|
[
|
||||||
for app_name, app_config in var.applications : {
|
for app_name, app_config in var.applications : {
|
||||||
hostname = "${app_config.subdomain}.${var.cloudflare_zone}"
|
hostname = "${app_config.subdomain}.${var.cloudflare_zone_id}"
|
||||||
service = app_config.origin_url
|
service = app_config.origin_url
|
||||||
origin_request = {
|
origin_request = {
|
||||||
no_tls_verify = app_config.no_tls_verify
|
no_tls_verify = app_config.no_tls_verify
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ output "applications_urls" {
|
|||||||
description = "URLs publiques de toutes les applications"
|
description = "URLs publiques de toutes les applications"
|
||||||
value = {
|
value = {
|
||||||
for app_name, app_config in var.applications :
|
for app_name, app_config in var.applications :
|
||||||
app_name => "https://${app_config.subdomain}.${var.cloudflare_zone}"
|
app_name => "https://${app_config.subdomain}.${var.cloudflare_zone_id}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ terraform {
|
|||||||
|
|
||||||
# Providers
|
# Providers
|
||||||
provider "cloudflare" {
|
provider "cloudflare" {
|
||||||
api_token = local.cloudflare_token
|
api_token = local.cloudflare_api_token
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "vault" {
|
provider "vault" {
|
||||||
|
|||||||
Reference in New Issue
Block a user