From 1a8bd6d055cee09bc13965d85f923abc2affa8fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Czoma?= Date: Tue, 9 Jul 2024 10:39:26 -0400 Subject: [PATCH] Updated required provider version --- ci/scripts/test-module.sh | 1 + examples/basic/main.tf | 7 +++---- examples/basic/providers.tf | 2 +- examples/local-transactions-support/main.tf | 7 +++---- examples/local-transactions-support/providers.tf | 2 +- examples/xa-transactions-support/main.tf | 7 +++---- examples/xa-transactions-support/providers.tf | 2 +- 7 files changed, 13 insertions(+), 15 deletions(-) diff --git a/ci/scripts/test-module.sh b/ci/scripts/test-module.sh index 8cc65e6..5a6cb69 100755 --- a/ci/scripts/test-module.sh +++ b/ci/scripts/test-module.sh @@ -9,6 +9,7 @@ cat main.tf terraform init terraform validate # Create +export SOLACEBROKER_SKIP_API_CHECK=true terraform plan terraform apply -auto-approve # terraform plan | grep "No changes" diff --git a/examples/basic/main.tf b/examples/basic/main.tf index 3eeca08..2cfbd9d 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -13,10 +13,9 @@ # limitations under the License. provider "solacebroker" { - username = "admin" - password = "admin" - url = "http://localhost:8080" - skip_api_check = true + username = "admin" + password = "admin" + url = "http://localhost:8080" } module "testcf" { diff --git a/examples/basic/providers.tf b/examples/basic/providers.tf index d827214..0db0bbc 100644 --- a/examples/basic/providers.tf +++ b/examples/basic/providers.tf @@ -18,7 +18,7 @@ terraform { required_providers { solacebroker = { source = "registry.terraform.io/solaceproducts/solacebrokerappliance" - version = "~> 0.9" + version = "~> 1.0" } } } diff --git a/examples/local-transactions-support/main.tf b/examples/local-transactions-support/main.tf index df5dc24..66cb795 100644 --- a/examples/local-transactions-support/main.tf +++ b/examples/local-transactions-support/main.tf @@ -13,10 +13,9 @@ # limitations under the License. provider "solacebroker" { - username = "admin" - password = "admin" - url = "http://localhost:8080" - skip_api_check = true + username = "admin" + password = "admin" + url = "http://localhost:8080" } module "testcf" { diff --git a/examples/local-transactions-support/providers.tf b/examples/local-transactions-support/providers.tf index d827214..0db0bbc 100644 --- a/examples/local-transactions-support/providers.tf +++ b/examples/local-transactions-support/providers.tf @@ -18,7 +18,7 @@ terraform { required_providers { solacebroker = { source = "registry.terraform.io/solaceproducts/solacebrokerappliance" - version = "~> 0.9" + version = "~> 1.0" } } } diff --git a/examples/xa-transactions-support/main.tf b/examples/xa-transactions-support/main.tf index 500b882..6cfea70 100644 --- a/examples/xa-transactions-support/main.tf +++ b/examples/xa-transactions-support/main.tf @@ -13,10 +13,9 @@ # limitations under the License. provider "solacebroker" { - username = "admin" - password = "admin" - url = "http://localhost:8080" - skip_api_check = true + username = "admin" + password = "admin" + url = "http://localhost:8080" } module "testcf" { diff --git a/examples/xa-transactions-support/providers.tf b/examples/xa-transactions-support/providers.tf index d827214..0db0bbc 100644 --- a/examples/xa-transactions-support/providers.tf +++ b/examples/xa-transactions-support/providers.tf @@ -18,7 +18,7 @@ terraform { required_providers { solacebroker = { source = "registry.terraform.io/solaceproducts/solacebrokerappliance" - version = "~> 0.9" + version = "~> 1.0" } } }