Skip to content

Commit

Permalink
Updated required provider version
Browse files Browse the repository at this point in the history
  • Loading branch information
bczoma committed Jul 9, 2024
1 parent dfa2c8c commit febf81f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 21 deletions.
1 change: 1 addition & 0 deletions ci/scripts/test-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ cat main.tf
terraform init
terraform validate
# Create
export SOLACEBROKER_SKIP_API_CHECK=true
terraform plan $2
terraform apply -auto-approve $2
# terraform plan $2 | grep "No changes"
Expand Down
10 changes: 4 additions & 6 deletions examples/adding-headers/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@
# 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"
}

# The RDP requires a queue to bind to.
# Recommended: Use the queue-endpoint module to create the queue
# TODO: Uncomment the following block and replace the resource block once the queue-endpoint module is available
# Option: Use the queue-endpoint module to create the queue. If using this option then also uncomment the queue_name in module "testrdp" below.
# module "rdp_queue" {
# source = SolaceProducts/queue-endpoint/solacebroker
#
Expand Down
2 changes: 1 addition & 1 deletion examples/adding-headers/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
solacebroker = {
source = "registry.terraform.io/solaceproducts/solacebrokerappliance"
version = "~> 0.9"
version = "~> 1.0"
}
}
required_version = "~> 1.2"
Expand Down
10 changes: 4 additions & 6 deletions examples/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@
# 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"
}

# The RDP requires a queue to bind to.
# Recommended: Use the queue-endpoint module to create the queue
# TODO: Uncomment the following block and replace the resource block once the queue-endpoint module is available
# Option: Use the queue-endpoint module to create the queue. If using this option then also uncomment the queue_name in module "testrdp" below.
# module "rdp_queue" {
# source = SolaceProducts/queue-endpoint/solacebroker
#
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
solacebroker = {
source = "registry.terraform.io/solaceproducts/solacebrokerappliance"
version = "~> 0.9"
version = "~> 1.0"
}
}
required_version = "~> 1.2"
Expand Down
10 changes: 4 additions & 6 deletions examples/using-substitution-expressions/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@
# 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"
}

# The RDP requires a queue to bind to.
# Recommended: Use the queue-endpoint module to create the queue
# TODO: Uncomment the following block and replace the resource block once the queue-endpoint module is available
# Option: Use the queue-endpoint module to create the queue. If using this option then also uncomment the queue_name in module "testrdp" below.
# module "rdp_queue" {
# source = SolaceProducts/queue-endpoint/solacebroker
#
Expand Down
2 changes: 1 addition & 1 deletion examples/using-substitution-expressions/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
solacebroker = {
source = "registry.terraform.io/solaceproducts/solacebrokerappliance"
version = "~> 0.9"
version = "~> 1.0"
}
}
required_version = "~> 1.2"
Expand Down

0 comments on commit febf81f

Please sign in to comment.