Skip to content

Commit 061e246

Browse files
committed
release: v0.4.2
1 parent d2116fc commit 061e246

File tree

8 files changed

+18
-9
lines changed

8 files changed

+18
-9
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.2](https://github.com/Altinity/terraform-provider-altinitycloud/compare/v0.4.1...v0.4.2)
8+
### Changed
9+
- Bump github.com/hashicorp/terraform-plugin-docs to `0.20.1` [#122](https://github.com/Altinity/terraform-provider-altinitycloud/pull/122).
10+
- Bump github.com/Yamashou/gqlgenc to `0.26.2` [#120](https://github.com/Altinity/terraform-provider-altinitycloud/pull/120).
11+
- Add deprecation notice to `number_of_zones` environments property (it will be removed in future versions) [#15243a4](https://github.com/Altinity/terraform-provider-altinitycloud/commit/15243a4).
12+
13+
### Fixed
14+
- Sort environments `node_groups` after API responses to match script order [#318164a](https://github.com/Altinity/terraform-provider-altinitycloud/commit/318164a).
15+
716
## [0.4.1](https://github.com/Altinity/terraform-provider-altinitycloud/compare/v0.4.0...v0.4.1)
8-
- [BREAKING CHANGE] Rename `altinitycloud_secret` to `altinitycloud_env_secret` [#03c38db](https://github.com/Altinity/terraform-provider-altinitycloud/commit/03c38db)
17+
### Changed
18+
- 🚨 [BREAKING CHANGE] Rename `altinitycloud_secret` to `altinitycloud_env_secret` [#03c38db](https://github.com/Altinity/terraform-provider-altinitycloud/commit/03c38db).
919

1020
## [0.4.0](https://github.com/Altinity/terraform-provider-altinitycloud/compare/v0.3.1...v0.4.0)
1121
### Added
@@ -23,7 +33,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2333
- Improve "disconnected" error message while deleting envs [aa38c53](https://github.com/Altinity/terraform-provider-altinitycloud/commit/aa38c53).
2434
- Don't allow empty strings on node group names [c6c71a7](https://github.com/Altinity/terraform-provider-altinitycloud/commit/c6c71a7).
2535

26-
2736
## [0.3.1](https://github.com/Altinity/terraform-provider-altinitycloud/compare/v0.3.0...v0.3.1)
2837
### Added
2938
- Add example of BYOK with AWS EKS cluster using Altinity's Terraform module for BYOK on EKS [45ed7a5](https://github.com/Altinity/terraform-provider-altinitycloud/commit/45ed7a5)\

docs/data-sources/env_aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Bring Your Own Cloud (BYOC) AWS environment data source.
6060
- "ZONE_BEST_EFFORT": keep traffic within same zone
6161
- `maintenance_windows` (Attributes List) List of maintenance windows during which automatic maintenance is permitted. By default updates are applied as soon as they are available. (see [below for nested schema](#nestedatt--maintenance_windows))
6262
- `node_groups` (Attributes Set) List of node groups. At least one required. (see [below for nested schema](#nestedatt--node_groups))
63-
- `number_of_zones` (Number) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
63+
- `number_of_zones` (Number, Deprecated) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
6464
- `peering_connections` (Attributes List) AWS environment VPC peering configuration. (see [below for nested schema](#nestedatt--peering_connections))
6565
- `region` (String) AWS region ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html#Concepts.RegionsAndAvailabilityZones.Regions)). **[IMMUTABLE]**
6666

docs/data-sources/env_azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Bring Your Own Cloud (BYOC) Azure environment data source.
5757
- "ZONE_BEST_EFFORT": keep traffic within same zone
5858
- `maintenance_windows` (Attributes List) List of maintenance windows during which automatic maintenance is permitted. By default updates are applied as soon as they are available. (see [below for nested schema](#nestedatt--maintenance_windows))
5959
- `node_groups` (Attributes Set) List of node groups. At least one required. (see [below for nested schema](#nestedatt--node_groups))
60-
- `number_of_zones` (Number) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
60+
- `number_of_zones` (Number, Deprecated) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
6161
- `private_link_service` (Attributes) Azure Private Link service configuration. (see [below for nested schema](#nestedatt--private_link_service))
6262
- `region` (String) Azure region ([docs](https://azure.microsoft.com/en-us/explore/global-infrastructure/geographies/#overview)). **[IMMUTABLE]**
6363

docs/data-sources/env_gcp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Bring Your Own Cloud (BYOC) GCP environment data source.
5858
- "ZONE_BEST_EFFORT": keep traffic within same zone
5959
- `maintenance_windows` (Attributes List) List of maintenance windows during which automatic maintenance is permitted. By default updates are applied as soon as they are available. (see [below for nested schema](#nestedatt--maintenance_windows))
6060
- `node_groups` (Attributes Set) List of node groups. At least one required. (see [below for nested schema](#nestedatt--node_groups))
61-
- `number_of_zones` (Number) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
61+
- `number_of_zones` (Number, Deprecated) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
6262
- `region` (String) GCP region ([docs](https://cloud.google.com/about/locations)). **[IMMUTABLE]**
6363

6464
Examples:

docs/resources/env_aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ resource "aws_vpc_peering_connection_accepter" "peer" {
255255
- "ROUND_ROBIN": load balance traffic across all zones in round-robin fashion (default)
256256
- "ZONE_BEST_EFFORT": keep traffic within same zone
257257
- `maintenance_windows` (Attributes List) List of maintenance windows during which automatic maintenance is permitted. By default updates are applied as soon as they are available. (see [below for nested schema](#nestedatt--maintenance_windows))
258-
- `number_of_zones` (Number) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
258+
- `number_of_zones` (Number, Deprecated) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
259259
- `peering_connections` (Attributes List) AWS environment VPC peering configuration. (see [below for nested schema](#nestedatt--peering_connections))
260260
- `skip_deprovision_on_destroy` (Boolean) Set to `true` will delete without waiting for environment deprovisioning. Use this with precaution, it may end up with dangling resources in your cloud provider (default `false`).
261261
- `tags` (Attributes List) Tags to apply to AWS resources. (see [below for nested schema](#nestedatt--tags))

docs/resources/env_azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ data "altinitycloud_env_azure_status" "this" {
122122
- "ROUND_ROBIN": load balance traffic across all zones in round-robin fashion (default)
123123
- "ZONE_BEST_EFFORT": keep traffic within same zone
124124
- `maintenance_windows` (Attributes List) List of maintenance windows during which automatic maintenance is permitted. By default updates are applied as soon as they are available. (see [below for nested schema](#nestedatt--maintenance_windows))
125-
- `number_of_zones` (Number) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
125+
- `number_of_zones` (Number, Deprecated) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
126126
- `private_link_service` (Attributes) Azure Private Link service configuration. (see [below for nested schema](#nestedatt--private_link_service))
127127
- `skip_deprovision_on_destroy` (Boolean) Set to `true` will delete without waiting for environment deprovisioning. Use this with precaution, it may end up with dangling resources in your cloud provider (default `false`).
128128
- `tags` (Attributes List) Tags to apply to Azure resources. (see [below for nested schema](#nestedatt--tags))

docs/resources/env_gcp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ data "altinitycloud_env_gcp_status" "this" {
128128
- "ROUND_ROBIN": load balance traffic across all zones in round-robin fashion (default)
129129
- "ZONE_BEST_EFFORT": keep traffic within same zone
130130
- `maintenance_windows` (Attributes List) List of maintenance windows during which automatic maintenance is permitted. By default updates are applied as soon as they are available. (see [below for nested schema](#nestedatt--maintenance_windows))
131-
- `number_of_zones` (Number) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
131+
- `number_of_zones` (Number, Deprecated) Number of zones where the environment will be available. When set, zones will be set automatically based on your cloud provider (Do not use it together with zones)
132132
- `skip_deprovision_on_destroy` (Boolean) Set to `true` will delete without waiting for environment deprovisioning. Use this with precaution, it may end up with dangling resources in your cloud provider (default `false`).
133133
- `zones` (List of String) Explicit list of GCP zones. At least 2 required.
134134
Examples:

internal/provider/modifiers/zones_validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (d *zonesAttributePlanModifier) MarkdownDescription(ctx context.Context) st
2323
return d.Description(ctx)
2424
}
2525

26-
// TODO: remove this modifier after deprecating number_of_zones
26+
// TODO: remove this modifier after deprecating number_of_zones.
2727
func (d *zonesAttributePlanModifier) PlanModifyInt64(ctx context.Context, req planmodifier.Int64Request, resp *planmodifier.Int64Response) {
2828
var zones types.List
2929
diags := req.Plan.GetAttribute(ctx, path.Root("zones"), &zones)

0 commit comments

Comments
 (0)