From e5d6311f8a9452643eebe7e959aa85e66b1dfa8c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:55:47 -0400 Subject: [PATCH] New release v1.0.0-rc.2 (#21) * link fixes * Declaring only minimum provider version * Switched to use public provider for testing --- .github/workflows/module-test-pipeline.yml | 16 ++++++++-------- README.md | 2 +- VERSION | 2 +- examples/basic-vpn/README.md | 2 +- internal/gen-template/provider.tf | 2 +- provider.tf | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/module-test-pipeline.yml b/.github/workflows/module-test-pipeline.yml index a13c036..b3622c8 100644 --- a/.github/workflows/module-test-pipeline.yml +++ b/.github/workflows/module-test-pipeline.yml @@ -23,14 +23,14 @@ jobs: --env system_scaling_maxconnectioncount="1000" --mount type=bind,source=$HOME/solace,destination=/var/lib/solace,ro=false solace/solace-pubsub-standard:latest while ! curl -s localhost:8080 | grep aurelia ; do sleep 1 ; done - - name: Setup if private provider is required - run: | - export PRIVATE_PROVIDER_VERSION="1.0.0-rc.7" - if [ -n "$PRIVATE_PROVIDER_VERSION" ]; then - echo "Using private provider version $PRIVATE_PROVIDER_VERSION" - grep -rl 'source = "' . | xargs sed -i 's@source = ".*$@source = "app.terraform.io/SolaceDev/solacebroker"@g' - grep -rl 'version = "' . | xargs sed -i "s@ version = \".*\$@ version = \"${PRIVATE_PROVIDER_VERSION}\"@g" - fi + # - name: Setup if private provider is required + # run: | + # export PRIVATE_PROVIDER_VERSION="1.0.0-rc.7" + # if [ -n "$PRIVATE_PROVIDER_VERSION" ]; then + # echo "Using private provider version $PRIVATE_PROVIDER_VERSION" + # grep -rl 'source = "' . | xargs sed -i 's@source = ".*$@source = "app.terraform.io/SolaceDev/solacebroker"@g' + # grep -rl 'version = "' . | xargs sed -i "s@ version = \".*\$@ version = \"${PRIVATE_PROVIDER_VERSION}\"@g" + # fi - name: Test module from template on test broker run: | diff --git a/README.md b/README.md index d246d3b..8d81990 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This Terraform module encapsulates a [Message VPN](https://docs.solace.com/Featu You can use this module to create a new Message VPN with a permissive `default` ACL and client profile, ready for messaging. You can also define an optional additional fully customizable ACL and client profile. The module also adds advanced client certificate authentication and OAuth authentication configuration support. -Note: the `default` client username that is automatically created with the new Message VPN is disabled. We recommend that you use the [Client Module](https://registry.terraform.io/modules/SolceProducts/client/solacebroker/latest) to setup a client username if required. In addition, services that require Message VPN specific ports, including REST, MQTT etc. are disabled by default and need to be enabled/configured through optional variables. +Note: the `default` client username that is automatically created with the new Message VPN is disabled. We recommend that you use the [Client Module](https://registry.terraform.io/modules/SolaceProducts/client/solacebroker/latest) to setup a client username if required. In addition, services that require Message VPN specific ports, including REST, MQTT etc. are disabled by default and need to be enabled/configured through optional variables. Use case details are provided in the [Examples](#examples) section. diff --git a/VERSION b/VERSION index 9c21819..fedbd0b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0-rc.1 +1.0.0-rc.2 diff --git a/examples/basic-vpn/README.md b/examples/basic-vpn/README.md index 1f10284..7953bce 100644 --- a/examples/basic-vpn/README.md +++ b/examples/basic-vpn/README.md @@ -9,7 +9,7 @@ These profiles enable ready-to-go messaging on the VPN for development and demo The default authentication method will be set to basic authentication with internal database. - A `default` client username is also created, however it will be shutdown and it is left to the user to setup a client username that meets their security requirements. We recommended that you use the [Client Module](https://registry.terraform.io/modules/SolceProducts/client/solacebroker/latest) to setup a client username. + A `default` client username is also created, however it will be shutdown and it is left to the user to setup a client username that meets their security requirements. We recommended that you use the [Client Module](https://registry.terraform.io/modules/SolaceProducts/client/solacebroker/latest) to setup a client username. Note: while not part of this module, we strongly recommend that you shutdown the `default` Message VPN on the event broker, because it allows unauthenticated access with any client username. diff --git a/internal/gen-template/provider.tf b/internal/gen-template/provider.tf index f2e37c2..8155aea 100644 --- a/internal/gen-template/provider.tf +++ b/internal/gen-template/provider.tf @@ -4,7 +4,7 @@ terraform { required_providers { solacebroker = { source = "registry.terraform.io/solaceproducts/solacebroker" - version = "~> 1.0" + version = ">= 1.0" } } } diff --git a/provider.tf b/provider.tf index 0366e34..39b56af 100644 --- a/provider.tf +++ b/provider.tf @@ -18,7 +18,7 @@ terraform { required_providers { solacebroker = { source = "registry.terraform.io/solaceproducts/solacebroker" - version = "~> 1.0" + version = ">= 1.0" } } }