Skip to content

Latest commit

 

History

History
708 lines (447 loc) · 34.5 KB

CHANGELOG.md

File metadata and controls

708 lines (447 loc) · 34.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • scalr_vcs_provider: added new attribute agent_pool_id (#233)
  • data.scalr_vcs_provider: added new attribute agent_pool_id (#233)
  • scalr_agent_pool: added new attribute vcs_enabled (#233)
  • data.scalr_agent_pool: added new attribute vcs_enabled (#233)

Fixed

  • data.scalr_module_version: if there are several module versions with the same version, select the version that has the 'is-root-module' flag set to true. (#229)

Required

  • scalr-server >= 8.64.0

1.0.5 - 2023-04-21

Changed

  • data.scalr_workspace: added new optional id argument, name became optional, one of or both can be specified (#228)
  • data.scalr_role: added new optional id argument, name became optional, one of or both can be specified (#228)
  • data.scalr_iam_team: added new optional id argument, name became optional, one of or both can be specified (#228)
  • data.scalr_policy_group: added new optional id argument, name became optional, one of or both can be specified (#228)
  • data.scalr_tag: added new optional id argument, name became optional, one of or both can be specified (#228)
  • data.scalr_agent_pool: added new optional id argument, name became optional, one of or both can be specified (#228)
  • data.scalr_vcs_provider: added new optional id argument (#228)
  • data.scalr_iam_user: added new optional id argument, email became optional, one of or both can be specified (#228)
  • data.scalr_variable: added new optional id argument, key became optional, one of or both can be specified (#228)
  • data.scalr_provider_configuration: added new optional id argument (#228)
  • data.scalr_webhook: optional id and name arguments can be used together (#228)
  • data.scalr_environment: optional id and name arguments can be used together (#228)
  • data.scalr_endpoint: optional id and name arguments can be used together (#228)
  • data.scalr_service_account: optional id and email arguments can be used together (#228)
  • scalr_workspace_run_schedule: make apply-schedule and destroy-schedule attributes nullable (#231)
  • scalr_webhook: (#234)
    • endpoint arguments are now included in the webhook resource: url, secret_key, timeout and max_attempts This manifests the new way webhook integration will work further on, deprecating the endpoint_id argument and merging the endpoint information into the webhook. During the deprecation period both old-style and new-style webhooks are supported. The support for old-style webhooks will be dropped in the next major release.
    • added new optional header argument (new-style webhooks only) - additional headers to set in the webhook request
    • added new optional environments argument (new-style webhooks only) - environments that the webhook is shared to
  • data.scalr_webhook: extended with new attributes from new-style webhook - url, secret_key, timeout, max_attempts, header, environments (#234)

Fixed

  • scalr_account_allowed_ips: accept /32 suffix (#224)
  • scalr_vcs_provider: fix handling resource destroy when resource no longer exists (#235)
  • scalr_webhook: fix handling resource destroy when resource no longer exists (#235)

Deprecated

  • scalr_endpoint is deprecated and will be removed in the next major version (#234)
  • data.scalr_endpoint is deprecated and will be removed in the next major version (#234)
  • scalr_webhook: (#234)
    • attribute endpoint_id is deprecated
    • attribute environment_id is deprecated
    • attribute workspace_id is deprecated
  • data.scalr_webhook: (#234)
    • attribute endpoint_id is deprecated
    • attribute environment_id is deprecated
    • attribute workspace_id is deprecated

Required

  • scalr-server >= 8.63.0

1.0.4 - 2023-03-13

Fixed

  • data.scalr_current_run no longer produces plan error if no current run info is present (#219)

1.0.3 - 2023-03-03

Fixed

  • scalr_provider_configuration_default resource: fixed unlinking policy groups and cloud credentials from the environment by scalr_provider_configuration_default resource (#216)

1.0.2 - 2023-02-17

Added

  • New resource: scalr_provider_configuration_default (#205)

Changed

  • scalr_workspace: delete the default value for auto_queue_runs attribute (#209)
  • execution_mode: Updated documentation to fix a typo for the execution_mode attribute in the scalr_workspace resource. It was incorrectly spelled execution-mode

Required

  • scalr-server >= 8.52.0

1.0.1 - 2023-01-20

Added

  • New data source: scalr_current_account (#199)
  • New data source: scalr_service_account (#200)
  • New resource: scalr_service_account (#200)
  • New resource: scalr_service_account_token (#201)

Changed

  • data.scalr_current_run now results in plan error if no current run info is present (#192)
  • data.scalr_current_run: changed type of vcs.commit.author attribute from TypeMap to TypeList (#192)
  • dropped support of Terraform 0.11 and below (#192)
  • account_id attribute in resources and datasources is optional now. If it's not explicitly set in the configuration, the default value is taken from environment variable SCALR_ACCOUNT_ID. The variable is set automatically for all runs on Scalr backend. (#199)

Required

  • scalr-server >= 8.52.0

1.0.0 - 2022-12-02

Added

  • module_version: data source: change relation from latest-module-version to module-version (#181)

Fixed

  • panic when creating workspace with empty var file value (#191)
  • typo in documentation of scalr_variable data-source environment_id parameter (#193)

Deprecated

  • scalr_environment: attribute cloud_credentials has been deprecated (#190)

  • scalr-server >= 8.45.0

1.0.0-rc38 - 2022-10-20

Added

  • scalr_workspace: added new attribute force_latest_run (#177)
  • scalr_workspace: added new attribute auto_queue_runs (#178)

Required

  • scalr-server >= 8.40.0

1.0.0-rc37 - 2022-10-07

Added

  • New data source: scalr_variable (#176)
  • New data source: scalr_variables (#176)
  • scalr_environment: added new attribute tag_ids (#174)
  • data.scalr_environment: added new attribute tag_ids (#174)

Fixed

  • scalr_policy_group data source: remove environments include from policy groups (172)

Removed

  • scalr_policy_group data source: remove workspaces attribute (173)
  • scalr_policy_group resource: remove workspaces attribute (173)

Required

  • scalr-server >= 8.37.0

1.0.0-rc36 - 2022-08-19

Added

  • scalr_provider_configuration data source: added new filter argument account_id (163)

Fixed

  • scalr_environment resource: fixed unsetting the default provider configuration for an environment (169)

Required

  • scalr-server >= 8.31.0

1.0.0-rc35 - 2022-08-05

Added

  • New data source: scalr_tag (#160)
  • New resource: scalr_tag (#160)
  • scalr_workspace: added new attribute tag_ids (#160)
  • data.scalr_workspace: added new attribute tag_ids (#160)

Required

  • scalr-server >= 8.30.0

1.0.0-rc34 - 2022-07-29

Changed

  • data.scalr_endpoint: allow to obtain scalr_endpoint by name, added new optional attributes name and acc_id, id became optional (#156)
  • data.scalr_webhook: allow to obtain scalr_webhook by name, added new optional attributes name and acc_id, id became optional (#156)

Added

  • scalr_workspace: added new attribute execution-mode (#158)
  • data.scalr_workspace: added new attribute execution-mode (#158)

Deprecated

  • scalr_workspace: attribute operations has been deprecated (#158)

Required

  • scalr-server >= 8.29.0

1.0.0-rc33 - 2022-07-22

Added

  • scalr_workspace: added new attribute vcs_repo.ingress_submodules (#146)
  • data.scalr_workspace: added new attribute vcs_repo.ingress_submodules (#146)

1.0.0-rc32 - 2022-07-15

Added

Fixed

  • scalr_variable: Fixed error on change workspace_id, environment_id, account_id of variable. (#150)

Required

  • scalr-server >= 8.27.0

1.0.0-rc31 - 2022-07-01

Added

  • scalr_workspace: added pre-init hook (#142)
  • data.scalr_workspace: added pre-init hook (#142)

Fixed

  • scalr_iam_team: Account id is shown in the error message when trying to create scalr_iam_team resource and use it in data source in parallel and without depends_on (#135)

1.0.0-rc30 - 2022-05-30

Fixed

  • resource.scalr_policy_group_linkage: optimized api interactions (#120)
  • scalr_workspace: vcs_repo and vcs_provider_id have to be passed simultaneously (#130)

1.0.0-rc29 - 2022-05-13

Added

  • New resource: scalr_workspace_run_schedule (#124)

Changed

  • scalr_workspace: added new attribute var_files (#118)

Fixed

  • scalr_policy_group: remove environments and workspaces as includes (#125)
  • scalr_variable: updated the confusing error for multi-scope variables (#119)

1.0.0-rc28 - 2022-04-01

Added

  • New resource: scalr_workspace_run_schedule (#124)
  • New resource: scalr_account_allowed_ips (#111)
  • scalr_workspace: added a new attribute run_operation_timeout (#115)

Changed

  • resource.scalr_role: added new state migration (include accounts:set-quotas permission if needed) (#116)

Fixed

  • scalr_variable: fix error on create terraform variable on some scope (#119)
  • Correctly handle not found resources (#117)

Required

  • scalr-server >= 8.15.0

1.0.0-rc27 - 2022-02-17

Fixed

  • create vcs_provider with bitbucket_enterprise vcs_type (#104)

Required

  • scalr-server >= 8.10.0

1.0.0-rc26 - 2022-01-21

Changed

  • New resource: scalr_run_triggers (#102)
  • data.scalr_environment: allow obtaining scalr_environment by name (#101)
  • data.scalr_environment: allow to obtain scalr_environment by name (#101)
  • data.scalr_environment: id become optional (#101)
  • data.scalr_environment: added new optional attribute name (#101)
  • data.scalr_environment: added new optional attribute account_id (#101)

Required

  • scalr-server >= 8.9.0

1.0.0-rc25 - 2021-11-24

Changed

  • data.scalr_role: argument account_id is optional now (#97)

1.0.0-rc24 - 2021-11-12

  • data.scalr_webhook: fixed broken webhook enabled filter (#93)

1.0.0-rc23 - 2021-11-05

  • scalr_workspace: attribute vcs_repo.path has been deprecated (#92)

Added

  • New resource: scalr_iam_team (#96)
  • New data source: scalr_iam_team (#96)
  • New data source: scalr_iam_user (#96)
  • New resource: scalr_policy_group (#94)
  • New resource: scalr_policy_group_linkage (#94)
  • New data source: scalr_policy_group (#94)

Required

  • scalr-server >= 8.3.0

1.0.0-rc22 - 2021-10-22

Added

  • New resource: scalr_agent_pool (#85)
  • New data source: scalr_agent_pool (#85)
  • New resource: scalr_agent_pool_token (#85)
  • scalr_workspace: added new attribute agent_pool_id (#85)
  • New resource: scalr_vcs_provider (#88)
  • New data source: scalr_vcs_provider (#89)

Required

  • scalr-server >= 8.1.0

1.0.0-rc21 - 2021-10-01

Added

  • New data source: scalr_module_version (#76)
  • New resource: scalr_module (#76)

Changed

  • scalr_workspace: new attribute module_version_id (#76)

Fixed

  • panic when retrying failed request (#87)
  • data.scalr_access_policy: return error if access policy is not found (#83)
  • data.scalr_environment: return error if environment is not found (#83)
  • scalr_environment: fixed crash while reading environment without proper permissions (#82)

Required

  • scalr-server >= 8.0.1-beta.20210930

1.0.0-rc20 - 2021-09-10

Fixed

  • scalr_environment: fixed handling of empty strings in cloud_credentials and policy_groups attributes (#81)
  • scalr_webhook: fixed handling of empty strings in events attribute (#81)
  • scalr_access_policy: fixed handling of empty strings in role_ids attribute (#81)
  • scalr_role: fixed handling of empty strings in permissions attribute (#81)
  • scalr_workspace: fixed handling of empty strings in vcs_repo.trigger_prefixes attribute (#81)

Required

  • scalr server >= 8.0.1-beta.20210810

1.0.0-rc19 - 2021-08-19

Added

  • New data source: scalr_role (#69)
  • New data source: scalr_access_policy (#69)
  • New resource: scalr_role (#69)
  • New resource: scalr_access_policy (#69)

Changed

  • scalr_variable: new attribute description (#73)
  • scalr_workspace: added new attribute has_resources (#63)
  • data.scalr_workspace: added new attribute has_resources (#63)
  • scalr_workspace: added new attribute vcs_repo.dry_runs_enabled (#70)
  • data.scalr_workspace: added new attribute vcs_repo.dry_runs_enabled (#70)

Fixed

  • scalr_environment: fix unlinking cloud credentials (#71)
  • scalr_workspace: fix removing hooks if it removed from template (#72)

Required

  • scalr server >= 8.0.1-beta.20210810

1.0.0-rc18 - 2021-07-22

Changed

  • scalr_workspace: make working_directory attribute non-computable, set default value to "" (#66)

Fixed

  • scalr_variable: fix inability to create sensitive variable (#68)
  • scalr_workspace: fix error changing working directory of a workspace to empty: plan outputs to empty diff (#66)

Required

  • scalr server >= 8.0.1-beta.20210407

1.0.0-rc17 - 2021-07-08

Added

  • scalr_workspace: new attribute hooks (#65)
  • data.scalr_workspace: new attribute hooks (#65)

Changed

  • scalr_variable: new attribute value shell for scalr_variable.category in order to create shell variable. env category value is deprecated. (#59)

1.0.0-rc16 - 2021-05-25

Changed

  • scalr_variable: make environment_id, workspace_id and account_id attributes computable (#60)

Fixed

  • Error changing scope for variable var-<id>: scope is immutable attribute

Required

  • scalr server >= 8.0.1-beta.20210407

1.0.0-rc15 - 2021-04-22

Added

  • The version number in terraform provider binary name and in User-Agent header during API calls to Scalr server (#60)
  • scalr_workspace: new attribute vcs_repo.path (#59)
  • scalr_workspace: new attribute vcs_repo.trigger_prefixes (#59)

Changed

  • scalr_variable: variable's scope becomes immutable (can not change workspace_id, environment_id or account_id) (#57)
  • scalr_variable: can not change key attribute for sensitive variable (#57)
  • scalr_endpoint: refresh state after manually endpoint deleting (#55)

Required

  • scalr server >= 8.0.1-beta.20210407

1.0.0-rc14 - 2021-03-11

Added

  • scalr_variable: new attribute final (#50)
  • scalr_variable: new attribute force (#50)
  • scalr_variable: new attribute environment_id (#50)
  • scalr_variable: new attribute account_id (#50)

Changed

  • scalr_variable: attribute workspace_id is optional (#50)

Required

  • scalr server >= 8.0.1-beta.20201202

1.0.0-rc13 - 2021-02-04

Changed

  • Fix inconsistency in migration (since 1.0.0-rc5) (#49)

Required

  • scalr server >= 8.0.1-beta.20201202

1.0.0-rc12 - 2021-01-28

Changed

  • Fix for workspace vcs_repo state migration panic (#46)

Required

  • scalr server >= 8.0.1-beta.20201202

1.0.0-rc11 - 2020-12-10

Changed

  • data.scalr_current_run use the SCALR_RUN_ID environment variable to read the current run ID (#42)

Required

  • scalr server >= 8.0.1-beta.20201202

1.0.0-rc10 - 2020-12-03

Changed

  • scalr_webhook attribute enabled is optional with default: true. (#40)
  • scalr_endpoint attribute secret_key is optional and sensitive.

Removed

  • scalr_workspace: drop attribute queue_all_runs. (#40)
  • scalr_endpoint: drop attribute http_method. (#40)

Required

  • scalr server >= 8.0.1-beta.20201125

1.0.0-rc9 - 2020-11-12

Added

  • New data source: scalr_environment (#10)
  • New resource: scalr_environment (#10)

Required

  • scalr server >= 8.0.1-beta.20201104

1.0.0-rc8 - 2020-10-29

Changed

  • data.scalr_current_run use VCS revision API instead of ingress attributes API to get VCS revision data (#24)

Required

  • scalr server >= 8.0.1-beta.20201019

1.0.0-rc7 - 2020-10-01

Added

  • New data source: scalr_endpoint (#10)
  • New data source: scalr_webhook (#10)
  • New resource: scalr_endpoint (#10)
  • New resource: scalr_webhook (#10)

Required

  • scalr server >= 8.0.1-beta.20200917

1.0.0-rc6 - 2020-09-10

Added

  • scalr_workspace: new attribute vcs_provider_id (Scalr vcs provider ID, replaces vcs_repo.oauth_token_id) (#17)

Removed

  • scalr_workspace: drop attribute vcs_repo.oauth_token_id (#17)

Required

  • scalr server >= 8.0.1-beta.20200903

1.0.0-rc5 - 2020-09-03

Added

  • scalr_workspace: new attribute environment_id (Scalr environment ID, replaces organization) (#11)
  • provider: new environment variable SCALR_HOSTNAME (Scalr hostname, replaces TFE_HOSTNAME) (#12)
  • provider: new environment variable SCALR_TOKEN (Scalr token, replaces SCALR_TOKEN) (#12)

Changed

  • scalr_workspace: attribute id is now in the ws-<RANDOM STRING> format (#11)

Removed

  • scalr_workspace: drop attribute organization in favour of environment_id (#11)
  • scalr_workspace: drop attribute external_id in favour of id (#11)
  • scalr_workspace: drop attribute vcs_repo.ingress_submodules (#11)
  • provider: drop environment variable TFE_HOSTNAME in favour of SCALR_HOSTNAME (#12)
  • provider: drop environment variable TFE_TOKEN in favour of SCALR_TOKEN (#12)

Required

  • scalr server >= 8.0.1-beta.20200901

1.0.0-rc3 - 2020-07-30

Added

  • scalr_workspace: new attribute vcs_repo.path (#8)
  • data.scalr_workspace: new attribute vcs_repo.path (#8)

Changed

  • data.scalr_current_run will return empty values on the local operation backend instead of an error (#9)

Required

  • scalr server >= 8.0.1-beta.20200709

1.0.0-rc2 - 2020-07-10

Added

  • data.scalr_current_run: new attribute environment_id (#6)
  • data.scalr_current_run: new attribute workspace_name (#6)

Removed

  • data.scalr_current_run: drop attribute workspace (#6)

1.0.0-rc1 - 2020-07-01

Requires Scalr 8.0.1-beta.20200625 at least

Added

  • New data source: scalr_current_run (#2)
  • data.scalr_workspace: new attribute created_by (#5)
  • scalr_workspace: new attribute created_by (#5)

0.0.0-rc2 - 2020-03-30

Added

  • New data source: scalr_workspace (#1)
  • New data source: scalr_workspace_ids (#1)
  • New resource: scalr_variable (#1)
  • New resource: scalr_workspace (#1)

0.0.0-rc1 - 2020-03-25

Added

  • Initial release.