From f14faff0f4bf0d0d667331d9f3407b096ef68072 Mon Sep 17 00:00:00 2001 From: Edgar Mocharnyk Date: Fri, 12 May 2023 15:04:29 +0300 Subject: [PATCH] updated CHANGELOG.md --- CHANGELOG.md | 13 ++++++++----- docs/data-sources/scalr_vcs_provider.md | 2 +- docs/data-sources/scalr_workspace.md | 2 +- docs/resources/scalr_vcs_provider.md | 4 ++-- docs/resources/scalr_workspace.md | 2 +- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97d88064..2cd87a86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.6] - 2023-05-12 + ### Added - **New data source:** `scalr_environments` ([#225](https://github.com/Scalr/terraform-provider-scalr/pull/225)) @@ -14,12 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- `scalr_vcs_provider`: added new attribute `agent_pool_id` ([#233](https://github.com/Scalr/terraform-provider-scalr/pull/233)) -- `data.scalr_vcs_provider`: added new attribute `agent_pool_id` ([#233](https://github.com/Scalr/terraform-provider-scalr/pull/233)) - `scalr_agent_pool`: added new attribute `vcs_enabled` ([#233](https://github.com/Scalr/terraform-provider-scalr/pull/233)) -- `data.scalr_agent_pool`: added new attribute `vcs_enabled` ([#233](https://github.com/Scalr/terraform-provider-scalr/pull/232)) +- `scalr_vcs_provider`: added new attribute `agent_pool_id` ([#233](https://github.com/Scalr/terraform-provider-scalr/pull/233)) - `scalr_vcs_provider`: added new attribute `environments` ([#243](https://github.com/Scalr/terraform-provider-scalr/pull/243)) - `scalr_workspace`: added new attribute `deletion_protection_enabled` ([#242](https://github.com/Scalr/terraform-provider-scalr/pull/242)) +- `data.scalr_agent_pool`: added new attribute `vcs_enabled` ([#233](https://github.com/Scalr/terraform-provider-scalr/pull/232)) +- `data.scalr_vcs_provider`: added new attribute `agent_pool_id` ([#233](https://github.com/Scalr/terraform-provider-scalr/pull/233)) - `data.scalr_workspace`: added new attribute `deletion_protection_enabled` ([#242](https://github.com/Scalr/terraform-provider-scalr/pull/242)) ### Fixed @@ -30,7 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Required -- scalr-server >= `8.65.0` +- scalr-server >= `8.66.0` ## [1.0.5] - 2023-04-21 @@ -670,7 +672,8 @@ Requires Scalr 8.0.1-beta.20200625 at least - Initial release. -[Unreleased]: https://github.com/Scalr/terraform-provider-scalr/compare/v1.0.5...HEAD +[Unreleased]: https://github.com/Scalr/terraform-provider-scalr/compare/v1.0.6...HEAD +[1.0.6]: https://github.com/Scalr/terraform-provider-scalr/releases/tag/v1.0.6 [1.0.5]: https://github.com/Scalr/terraform-provider-scalr/releases/tag/v1.0.5 [1.0.4]: https://github.com/Scalr/terraform-provider-scalr/releases/tag/v1.0.4 [1.0.3]: https://github.com/Scalr/terraform-provider-scalr/releases/tag/v1.0.3 diff --git a/docs/data-sources/scalr_vcs_provider.md b/docs/data-sources/scalr_vcs_provider.md index 04a9ac2c..a5160cfc 100644 --- a/docs/data-sources/scalr_vcs_provider.md +++ b/docs/data-sources/scalr_vcs_provider.md @@ -28,7 +28,7 @@ The following arguments are supported: * `vcs_type` - (Optional) Type of the VCS provider. For example, `github`. * `environment_id` - (Optional) ID of the environment the VCS provider has to be linked to, in the format `env-`. * `account_id` - (Optional) ID of the account, in the format `acc-`. -* `agent_pool_id` - (Optional) ID of the agent pool, in the format `apool-`. +* `agent_pool_id` - (Optional) The id of the agent pool to connect Scalr to self-hosted VCS provider, in the format `apool-`. ## Attribute Reference diff --git a/docs/data-sources/scalr_workspace.md b/docs/data-sources/scalr_workspace.md index b109262c..282de95c 100644 --- a/docs/data-sources/scalr_workspace.md +++ b/docs/data-sources/scalr_workspace.md @@ -46,7 +46,7 @@ All arguments plus: * `vcs_repo` - If a workspace is linked to a VCS repository this block shows the details, otherwise `{}` * `created_by` - Details of the user that created the workspace. * `has_resources` - The presence of active terraform resources in the current state version. -* `deletion_protection_enabled` - Boolean indicates whether to prevent deletion when the workspace has resources. +* `deletion_protection_enabled` - Boolean, indicates if the workspace has the protection from an accidental state lost. If enabled and the workspace has resource, the deletion will not be allowed. * `auto_queue_runs` - Indicates if runs have to be queued automatically when a new configuration version is uploaded. Supported values are `skip_first`, `always`, `never`: diff --git a/docs/resources/scalr_vcs_provider.md b/docs/resources/scalr_vcs_provider.md index ce9e1238..001ca985 100644 --- a/docs/resources/scalr_vcs_provider.md +++ b/docs/resources/scalr_vcs_provider.md @@ -27,9 +27,9 @@ resource "scalr_vcs_provider" "example" { * `account_id` - (Optional) ID of the account. * `url` - (Optional) This field is required for self-hosted vcs providers. * `username` - (Optional) This field is required for `bitbucket_enterprise` provider type. -* `agent_pool_id` - (Optional) ID of the agent pool to communicate with VCS through. +* `agent_pool_id` - (Optional) The id of the agent pool to connect Scalr to self-hosted VCS provider. * `environments` - (Optional) The list of environment identifiers that the VCS provider is shared to. - Use `["*"]` to share with all environments. + Use `["*"]` to share with all environments. ## Attribute Reference diff --git a/docs/resources/scalr_workspace.md b/docs/resources/scalr_workspace.md index 1870934f..1790407a 100644 --- a/docs/resources/scalr_workspace.md +++ b/docs/resources/scalr_workspace.md @@ -95,7 +95,7 @@ resource "scalr_workspace" "cli-driven" { * `environment_id` - (Required) ID of the environment, in the format `env-`. * `auto_apply` - (Optional) Set (true/false) to configure if `terraform apply` should automatically run when `terraform plan` ends without error. Default `false`. * `force_latest_run` - (Optional) Set (true/false) to configure if latest new run will be automatically raised in priority. Default `false`. -* `deletion_protection_enabled` - (Optional) Set (true/false) to configure whether to prevent deletion when the workspace has resources. Default `true`. +* `deletion_protection_enabled` - (Optional) Indicates if the workspace has the protection from an accidental state lost. If enabled and the workspace has resource, the deletion will not be allowed. Default `true`. * `operations` - Deprecated. Use `execution_mode` instead. * `auto_queue_runs` - Indicates if runs have to be queued automatically when a new configuration version is uploaded.