From 5601ba4fb7280be568edf119e6963c3704e8b11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serdar=20Dalg=C4=B1=C3=A7?= Date: Mon, 24 Jul 2023 17:24:51 +0200 Subject: [PATCH] ci: Prepare for the 0.5.0 release. (#292) --- CHANGELOG.md | 11 +++++++++++ GNUmakefile | 2 +- README.md | 2 +- docs/data-sources/pgd.md | 2 +- docs/resources/aws_connection.md | 2 +- docs/resources/azure_connection.md | 2 +- docs/resources/cluster.md | 4 ++-- docs/resources/faraway_replica.md | 4 ++-- docs/resources/pgd.md | 12 ++++++------ docs/resources/project.md | 2 +- docs/resources/region.md | 2 +- .../biganimal_aws_connection/provider.tf | 2 +- examples/data-sources/biganimal_cluster/provider.tf | 2 +- .../biganimal_faraway_replica/provider.tf | 2 +- examples/data-sources/biganimal_pgd/provider.tf | 2 +- examples/data-sources/biganimal_projects/provider.tf | 2 +- examples/data-sources/biganimal_region/provider.tf | 2 +- .../resources/biganimal_aws_connection/resource.tf | 2 +- .../resources/biganimal_azure_connection/resource.tf | 2 +- examples/resources/biganimal_cluster/ha/resource.tf | 2 +- .../biganimal_cluster/single_node/aws/resource.tf | 2 +- .../biganimal_cluster/single_node/azure/resource.tf | 2 +- .../biganimal_cluster/single_node/resource.tf | 2 +- .../biganimal_faraway_replica/aws/resource.tf | 2 +- .../biganimal_faraway_replica/azure/resource.tf | 2 +- .../cluster_and_faraway_replica/resource.tf | 2 +- .../resources/biganimal_faraway_replica/resource.tf | 2 +- .../biganimal_pgd/aws/data_group/resource.tf | 6 +++--- .../aws/data_groups_with_witness_group/resource.tf | 2 +- .../biganimal_pgd/azure/data_group/resource.tf | 2 +- .../azure/data_groups_with_witness_group/resource.tf | 2 +- examples/resources/biganimal_project/resource.tf | 2 +- examples/resources/biganimal_region/resource.tf | 2 +- 33 files changed, 52 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0706f205..e21205b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## v0.5.0 (July 24. 2023) +Features: +* New Data Source: `biganimal_pgd` +* New Resource to manage BigAnimal Extreme High Availability clusters: `biganimal_pgd` +* Projects, Regions and PGD resources can now be imported. + +Enhancements: +* Dependency updates. +* `biganimal_project` and `biganimal_region` resources and `biganimal_projects` and `biganimal_region` data sources are migrated to use the new Terraform Plugin Framework Library. +* Various CI improvements + ## v0.4.2 (June 6. 2023) Bug Fixes: * Regression fix for Faraway Replicas diff --git a/GNUmakefile b/GNUmakefile index 66745898..46079653 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -4,7 +4,7 @@ HOSTNAME=registry.terraform.io NAMESPACE=EnterpriseDB NAME=biganimal BINARY=terraform-provider-${NAME} -VERSION=0.4.2 +VERSION=0.5.0 # Figure out the OS and ARCH of the # builder machine diff --git a/README.md b/README.md index 4cab1e2b..1a9664c3 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/docs/data-sources/pgd.md b/docs/data-sources/pgd.md index ec4171ef..b0bf3759 100644 --- a/docs/data-sources/pgd.md +++ b/docs/data-sources/pgd.md @@ -74,7 +74,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/docs/resources/aws_connection.md b/docs/resources/aws_connection.md index ccd2da6f..1b10f37f 100644 --- a/docs/resources/aws_connection.md +++ b/docs/resources/aws_connection.md @@ -19,7 +19,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/docs/resources/azure_connection.md b/docs/resources/azure_connection.md index f0b9e8dc..841f4187 100644 --- a/docs/resources/azure_connection.md +++ b/docs/resources/azure_connection.md @@ -19,7 +19,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/docs/resources/cluster.md b/docs/resources/cluster.md index 951a2200..2d90096c 100644 --- a/docs/resources/cluster.md +++ b/docs/resources/cluster.md @@ -10,7 +10,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" @@ -98,7 +98,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/docs/resources/faraway_replica.md b/docs/resources/faraway_replica.md index 51df04ff..a77053cc 100644 --- a/docs/resources/faraway_replica.md +++ b/docs/resources/faraway_replica.md @@ -9,7 +9,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" @@ -102,7 +102,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/docs/resources/pgd.md b/docs/resources/pgd.md index dfe440c5..08c111e5 100644 --- a/docs/resources/pgd.md +++ b/docs/resources/pgd.md @@ -12,7 +12,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" @@ -106,7 +106,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" @@ -261,7 +261,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" @@ -337,11 +337,11 @@ resource "biganimal_pgd" "pgd_cluster" { cloud_provider_id = "aws" } region = { - region_id = "eu-west-1" + region_id = "eu-central-1" } maintenance_window = { is_enabled = true - start_day = 1 + start_day = 6 start_time = "13:00" } } @@ -355,7 +355,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/docs/resources/project.md b/docs/resources/project.md index c130ca3c..8ef3f021 100644 --- a/docs/resources/project.md +++ b/docs/resources/project.md @@ -20,7 +20,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/docs/resources/region.md b/docs/resources/region.md index e2c6dd99..3384e2aa 100644 --- a/docs/resources/region.md +++ b/docs/resources/region.md @@ -9,7 +9,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/data-sources/biganimal_aws_connection/provider.tf b/examples/data-sources/biganimal_aws_connection/provider.tf index 39fa059b..69b7430f 100644 --- a/examples/data-sources/biganimal_aws_connection/provider.tf +++ b/examples/data-sources/biganimal_aws_connection/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/data-sources/biganimal_cluster/provider.tf b/examples/data-sources/biganimal_cluster/provider.tf index 39fa059b..69b7430f 100644 --- a/examples/data-sources/biganimal_cluster/provider.tf +++ b/examples/data-sources/biganimal_cluster/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/data-sources/biganimal_faraway_replica/provider.tf b/examples/data-sources/biganimal_faraway_replica/provider.tf index 39fa059b..69b7430f 100644 --- a/examples/data-sources/biganimal_faraway_replica/provider.tf +++ b/examples/data-sources/biganimal_faraway_replica/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/data-sources/biganimal_pgd/provider.tf b/examples/data-sources/biganimal_pgd/provider.tf index 39fa059b..69b7430f 100644 --- a/examples/data-sources/biganimal_pgd/provider.tf +++ b/examples/data-sources/biganimal_pgd/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/data-sources/biganimal_projects/provider.tf b/examples/data-sources/biganimal_projects/provider.tf index 39fa059b..69b7430f 100644 --- a/examples/data-sources/biganimal_projects/provider.tf +++ b/examples/data-sources/biganimal_projects/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/data-sources/biganimal_region/provider.tf b/examples/data-sources/biganimal_region/provider.tf index 39fa059b..69b7430f 100644 --- a/examples/data-sources/biganimal_region/provider.tf +++ b/examples/data-sources/biganimal_region/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/resources/biganimal_aws_connection/resource.tf b/examples/resources/biganimal_aws_connection/resource.tf index b7cf631c..49c26963 100644 --- a/examples/resources/biganimal_aws_connection/resource.tf +++ b/examples/resources/biganimal_aws_connection/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/resources/biganimal_azure_connection/resource.tf b/examples/resources/biganimal_azure_connection/resource.tf index 18df6bb8..ccbf7715 100644 --- a/examples/resources/biganimal_azure_connection/resource.tf +++ b/examples/resources/biganimal_azure_connection/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } } diff --git a/examples/resources/biganimal_cluster/ha/resource.tf b/examples/resources/biganimal_cluster/ha/resource.tf index 15dbad78..253db34b 100644 --- a/examples/resources/biganimal_cluster/ha/resource.tf +++ b/examples/resources/biganimal_cluster/ha/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_cluster/single_node/aws/resource.tf b/examples/resources/biganimal_cluster/single_node/aws/resource.tf index 11c61c0e..744efb01 100644 --- a/examples/resources/biganimal_cluster/single_node/aws/resource.tf +++ b/examples/resources/biganimal_cluster/single_node/aws/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_cluster/single_node/azure/resource.tf b/examples/resources/biganimal_cluster/single_node/azure/resource.tf index b63b6803..f4e7d1cf 100644 --- a/examples/resources/biganimal_cluster/single_node/azure/resource.tf +++ b/examples/resources/biganimal_cluster/single_node/azure/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_cluster/single_node/resource.tf b/examples/resources/biganimal_cluster/single_node/resource.tf index b63b6803..f4e7d1cf 100644 --- a/examples/resources/biganimal_cluster/single_node/resource.tf +++ b/examples/resources/biganimal_cluster/single_node/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_faraway_replica/aws/resource.tf b/examples/resources/biganimal_faraway_replica/aws/resource.tf index 3bcd2911..df7ca661 100644 --- a/examples/resources/biganimal_faraway_replica/aws/resource.tf +++ b/examples/resources/biganimal_faraway_replica/aws/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_faraway_replica/azure/resource.tf b/examples/resources/biganimal_faraway_replica/azure/resource.tf index 927fb888..1be1430c 100644 --- a/examples/resources/biganimal_faraway_replica/azure/resource.tf +++ b/examples/resources/biganimal_faraway_replica/azure/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_faraway_replica/cluster_and_faraway_replica/resource.tf b/examples/resources/biganimal_faraway_replica/cluster_and_faraway_replica/resource.tf index 97d9bfa0..900196d5 100644 --- a/examples/resources/biganimal_faraway_replica/cluster_and_faraway_replica/resource.tf +++ b/examples/resources/biganimal_faraway_replica/cluster_and_faraway_replica/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_faraway_replica/resource.tf b/examples/resources/biganimal_faraway_replica/resource.tf index 3bcd2911..df7ca661 100644 --- a/examples/resources/biganimal_faraway_replica/resource.tf +++ b/examples/resources/biganimal_faraway_replica/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_pgd/aws/data_group/resource.tf b/examples/resources/biganimal_pgd/aws/data_group/resource.tf index 57ec8ee4..70d74b93 100644 --- a/examples/resources/biganimal_pgd/aws/data_group/resource.tf +++ b/examples/resources/biganimal_pgd/aws/data_group/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" @@ -78,11 +78,11 @@ resource "biganimal_pgd" "pgd_cluster" { cloud_provider_id = "aws" } region = { - region_id = "eu-west-1" + region_id = "eu-central-1" } maintenance_window = { is_enabled = true - start_day = 1 + start_day = 6 start_time = "13:00" } } diff --git a/examples/resources/biganimal_pgd/aws/data_groups_with_witness_group/resource.tf b/examples/resources/biganimal_pgd/aws/data_groups_with_witness_group/resource.tf index c283f04f..f4a5138c 100644 --- a/examples/resources/biganimal_pgd/aws/data_groups_with_witness_group/resource.tf +++ b/examples/resources/biganimal_pgd/aws/data_groups_with_witness_group/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_pgd/azure/data_group/resource.tf b/examples/resources/biganimal_pgd/azure/data_group/resource.tf index 5bf5f3a9..833e8c66 100644 --- a/examples/resources/biganimal_pgd/azure/data_group/resource.tf +++ b/examples/resources/biganimal_pgd/azure/data_group/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_pgd/azure/data_groups_with_witness_group/resource.tf b/examples/resources/biganimal_pgd/azure/data_groups_with_witness_group/resource.tf index f705b327..a9d94ff5 100644 --- a/examples/resources/biganimal_pgd/azure/data_groups_with_witness_group/resource.tf +++ b/examples/resources/biganimal_pgd/azure/data_groups_with_witness_group/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_project/resource.tf b/examples/resources/biganimal_project/resource.tf index 27cc86ec..31bf8de2 100644 --- a/examples/resources/biganimal_project/resource.tf +++ b/examples/resources/biganimal_project/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } random = { source = "hashicorp/random" diff --git a/examples/resources/biganimal_region/resource.tf b/examples/resources/biganimal_region/resource.tf index 2c0f74c9..7871825c 100644 --- a/examples/resources/biganimal_region/resource.tf +++ b/examples/resources/biganimal_region/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { biganimal = { source = "EnterpriseDB/biganimal" - version = "0.4.2" + version = "0.5.0" } } }