Skip to content

Commit

Permalink
release: v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ianaya89 committed Nov 27, 2024
1 parent d2116fc commit 061e246
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 9 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.2](https://github.com/Altinity/terraform-provider-altinitycloud/compare/v0.4.1...v0.4.2)
### Changed
- Bump github.com/hashicorp/terraform-plugin-docs to `0.20.1` [#122](https://github.com/Altinity/terraform-provider-altinitycloud/pull/122).
- Bump github.com/Yamashou/gqlgenc to `0.26.2` [#120](https://github.com/Altinity/terraform-provider-altinitycloud/pull/120).
- 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).

### Fixed
- Sort environments `node_groups` after API responses to match script order [#318164a](https://github.com/Altinity/terraform-provider-altinitycloud/commit/318164a).

## [0.4.1](https://github.com/Altinity/terraform-provider-altinitycloud/compare/v0.4.0...v0.4.1)
- [BREAKING CHANGE] Rename `altinitycloud_secret` to `altinitycloud_env_secret` [#03c38db](https://github.com/Altinity/terraform-provider-altinitycloud/commit/03c38db)
### Changed
- 🚨 [BREAKING CHANGE] Rename `altinitycloud_secret` to `altinitycloud_env_secret` [#03c38db](https://github.com/Altinity/terraform-provider-altinitycloud/commit/03c38db).

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


## [0.3.1](https://github.com/Altinity/terraform-provider-altinitycloud/compare/v0.3.0...v0.3.1)
### Added
- 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)\
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/env_aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Bring Your Own Cloud (BYOC) AWS environment data source.
- "ZONE_BEST_EFFORT": keep traffic within same zone
- `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))
- `node_groups` (Attributes Set) List of node groups. At least one required. (see [below for nested schema](#nestedatt--node_groups))
- `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)
- `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)
- `peering_connections` (Attributes List) AWS environment VPC peering configuration. (see [below for nested schema](#nestedatt--peering_connections))
- `region` (String) AWS region ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html#Concepts.RegionsAndAvailabilityZones.Regions)). **[IMMUTABLE]**

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/env_azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Bring Your Own Cloud (BYOC) Azure environment data source.
- "ZONE_BEST_EFFORT": keep traffic within same zone
- `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))
- `node_groups` (Attributes Set) List of node groups. At least one required. (see [below for nested schema](#nestedatt--node_groups))
- `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)
- `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)
- `private_link_service` (Attributes) Azure Private Link service configuration. (see [below for nested schema](#nestedatt--private_link_service))
- `region` (String) Azure region ([docs](https://azure.microsoft.com/en-us/explore/global-infrastructure/geographies/#overview)). **[IMMUTABLE]**

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/env_gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Bring Your Own Cloud (BYOC) GCP environment data source.
- "ZONE_BEST_EFFORT": keep traffic within same zone
- `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))
- `node_groups` (Attributes Set) List of node groups. At least one required. (see [below for nested schema](#nestedatt--node_groups))
- `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)
- `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)
- `region` (String) GCP region ([docs](https://cloud.google.com/about/locations)). **[IMMUTABLE]**

Examples:
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/env_aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ resource "aws_vpc_peering_connection_accepter" "peer" {
- "ROUND_ROBIN": load balance traffic across all zones in round-robin fashion (default)
- "ZONE_BEST_EFFORT": keep traffic within same zone
- `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))
- `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)
- `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)
- `peering_connections` (Attributes List) AWS environment VPC peering configuration. (see [below for nested schema](#nestedatt--peering_connections))
- `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`).
- `tags` (Attributes List) Tags to apply to AWS resources. (see [below for nested schema](#nestedatt--tags))
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/env_azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ data "altinitycloud_env_azure_status" "this" {
- "ROUND_ROBIN": load balance traffic across all zones in round-robin fashion (default)
- "ZONE_BEST_EFFORT": keep traffic within same zone
- `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))
- `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)
- `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)
- `private_link_service` (Attributes) Azure Private Link service configuration. (see [below for nested schema](#nestedatt--private_link_service))
- `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`).
- `tags` (Attributes List) Tags to apply to Azure resources. (see [below for nested schema](#nestedatt--tags))
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/env_gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ data "altinitycloud_env_gcp_status" "this" {
- "ROUND_ROBIN": load balance traffic across all zones in round-robin fashion (default)
- "ZONE_BEST_EFFORT": keep traffic within same zone
- `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))
- `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)
- `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)
- `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`).
- `zones` (List of String) Explicit list of GCP zones. At least 2 required.
Examples:
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/modifiers/zones_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (d *zonesAttributePlanModifier) MarkdownDescription(ctx context.Context) st
return d.Description(ctx)
}

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

0 comments on commit 061e246

Please sign in to comment.