From 82918a46695e6360f8b79abce076e89ef9b966b8 Mon Sep 17 00:00:00 2001 From: Will Vedder Date: Fri, 22 Sep 2023 09:02:33 -0400 Subject: [PATCH] Updating Auth0 TF provider version to minimum 1.0.0 (#853) Updating provider version to minimum 1.0.0, added reademe reference Co-authored-by: Will Vedder --- README.md | 3 ++- internal/cli/terraform.go | 2 +- internal/cli/terraform_test.go | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f8659fca0..eeb3c4a97 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ There are two ways to authenticate: - [auth0 rules](https://auth0.github.io/auth0-cli/auth0_rules.html) - Manage resources for rules - [auth0 tenants](https://auth0.github.io/auth0-cli/auth0_tenants.html) - Manage configured tenants - [auth0 test](https://auth0.github.io/auth0-cli/auth0_test.html) - Try your Universal Login box or get a token +- [auth0 terraform generate](https://auth0.github.io/auth0-cli/auth0_terraform_generate.html) - Generate terraform configuration for your Auth0 Tenant - [auth0 universal-login](https://auth0.github.io/auth0-cli/auth0_universal-login.html) - Manage the Universal Login experience - [auth0 users](https://auth0.github.io/auth0-cli/auth0_users.html) - Manage resources for users @@ -136,7 +137,7 @@ export EDITOR="code --wait" # Uses sublime text with the --wait flag. export EDITOR="subl --wait" - + # Uses nano, a terminal based editor. export EDITOR="nano" diff --git a/internal/cli/terraform.go b/internal/cli/terraform.go index 130ae6cd1..9252d867b 100644 --- a/internal/cli/terraform.go +++ b/internal/cli/terraform.go @@ -268,7 +268,7 @@ func createMainFile(outputDIR string) error { required_providers { auth0 = { source = "auth0/auth0" - version = "1.0.0-beta.4" + version = ">= 1.0.0" } } } diff --git a/internal/cli/terraform_test.go b/internal/cli/terraform_test.go index 19cea74b4..3c9499186 100644 --- a/internal/cli/terraform_test.go +++ b/internal/cli/terraform_test.go @@ -197,7 +197,7 @@ func assertTerraformMainFileWasGeneratedCorrectly(t *testing.T, outputDIR string required_providers { auth0 = { source = "auth0/auth0" - version = "1.0.0-beta.4" + version = ">= 1.0.0" } } }