From 72b8f352b058297a588229e2f4841cc03094bc7a Mon Sep 17 00:00:00 2001 From: fsadykov Date: Wed, 2 Mar 2022 21:58:41 -0600 Subject: [PATCH] Deployment endpoint is optional from now --- README.md | 3 +-- variables.tf | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 27a9fb7..ef3c55f 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ For more info, please see the [variables file](https://github.com/fuchicorp/terr | Variable | Description | Default | Type | | :----------------------- | :------------------------------------------------------------------------------------------ | :----------: | :-------------: | -| `deployment_endpoint` | Ingress endpoint `example.fuchicorp.com` | `(Required)` | `domain/string` | +| `deployment_endpoint` | Ingress endpoint `example.fuchicorp.com` | `(Optional)` | `domain/string` | | `deployment_name` | The name of the deployment for helm release | `(Required)` | `string` | | `deployment_environment` | Name of the namespace | `(Required)` | `string` | | `deployment_path` | path for helm chart on local | `(Required)` | `string` | @@ -128,7 +128,6 @@ In a case of remote chart deployment, you can follow the above instruction and u module "helm_deploy_remote" { source = "fuchicorp/chart/helm" version = "0.0.10" - deployment_endpoint = "grafana.fuchicorp.com" deployment_name = "grafana" deployment_environment = "dev" deployment_path = "grafana/grafana" diff --git a/variables.tf b/variables.tf index 0a93c74..9cbbace 100644 --- a/variables.tf +++ b/variables.tf @@ -1,5 +1,6 @@ variable "deployment_endpoint" { - description = "-(Required) Endpoint for the application" + description = "-(Optional) Endpoint for the application" + default = "example.local" } variable "deployment_name" {