From 224ab99b7ddcb5837f4f6b655186a85e05bb74ee Mon Sep 17 00:00:00 2001 From: Mariyan Dimitrov Date: Mon, 6 Nov 2023 11:57:38 +0200 Subject: [PATCH 1/4] docs(version): Bump provider version Bump provider version to 0.10.0, as the example points to 0.3.1 which is pretty old and lacks a lot of features that are present in later versions. --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 7eca3801..501c1a1d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -40,7 +40,7 @@ Terraform 0.13 and later: terraform { required_providers { juju = { - version = "~> 0.3.1" + version = "~> 0.10.0" source = "juju/juju" } } From 93e7b86b4e689ca6e02fb769518beb9217d313d6 Mon Sep 17 00:00:00 2001 From: Mariyan Dimitrov Date: Mon, 6 Nov 2023 11:59:24 +0200 Subject: [PATCH 2/4] Update provider.tf --- examples/provider/provider.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 97ada144..b83a49c4 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -1,7 +1,7 @@ terraform { required_providers { juju = { - version = "~> 0.3.1" + version = "~> 0.10.0" source = "juju/juju" } } From 72d0e1812d3208a49b64d3c41216e0959fb57ba4 Mon Sep 17 00:00:00 2001 From: Mariyan Dimitrov Date: Mon, 6 Nov 2023 11:59:39 +0200 Subject: [PATCH 3/4] Update provider_0.12.tf --- examples/provider/provider_0.12.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/provider/provider_0.12.tf b/examples/provider/provider_0.12.tf index 73d2ef36..0c3f68f3 100644 --- a/examples/provider/provider_0.12.tf +++ b/examples/provider/provider_0.12.tf @@ -1,5 +1,5 @@ provider "juju" { - version = "~> 0.3.1" + version = "~> 0.10.0" controller_addresses = "10.225.205.241:17070,10.225.205.242:17070" From feec0f9ebc7360b204a0fad1aa4a0247b1eb5296 Mon Sep 17 00:00:00 2001 From: Mariyan Dimitrov Date: Wed, 8 Nov 2023 11:55:53 +0200 Subject: [PATCH 4/4] chore(generate): Run go generate --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 501c1a1d..5852527f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -135,7 +135,7 @@ resource "juju_integration" "wp_to_percona" { Terraform 0.12 and earlier: ```terraform provider "juju" { - version = "~> 0.3.1" + version = "~> 0.10.0" controller_addresses = "10.225.205.241:17070,10.225.205.242:17070"