Open teletraan-x[bot] opened 9 months ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
β REPOSITORY | git_diff | yes | no | 0.01s | |
β REPOSITORY | secretlint | yes | no | 0.7s | |
β TERRAFORM | terraform-fmt | 1 | 0 | 0.03s |
See detailed report in MegaLinter reports
_Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff_
This PR contains the following updates:
~> 0.50.0
->~> 0.51.0
Release Notes
hashicorp/terraform-provider-tfe (tfe)
### [`v0.51.0`](https://togithub.com/hashicorp/terraform-provider-tfe/blob/HEAD/CHANGELOG.md#v0510) [Compare Source](https://togithub.com/hashicorp/terraform-provider-tfe/compare/v0.50.0...v0.51.0) DEPRECATIONS and BREAKING CHANGES: - `r/tfe_workspace`: `execution_mode` and `agent_pool_id` attributes have been deprecated in favor of a new resource, `tfe_workspace_settings`. Note that these fields no longer compute defaults which is consistent with using a new resource to manage these same settings. In practice, this means that if you unset `execution_mode` or `agent_pool_id` without also creating a `tfe_workspace_settings`, the setting will no longer revert to the default "remote" mode. To migrate, relocate the `execution_mode` and `agent_pool_id` arguments to `tfe_workspace_settings`. BUG FIXES: - `r/tfe_policy`: Fix the provider ignoring updates to the `query` field, by [@skeggse](https://togithub.com/skeggse) [1108](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1108) - Fix the undetected change when modifying the `organization` default in the provider configuration by [@brandonc](https://togithub.com/brandonc) [1152](https://togithub.com/hashicorp/terraform-provider-tfe/issue/1152) - New resource `r/tfe_workspace_settings`: Can be used to break any circular dependency between `tfe_workspace` and `tfe_agent_pool_allowed_workspaces` by managing the `agent_pool_id` for a Workspace by [@brandonc](https://togithub.com/brandonc) [1159](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1159) FEATURES: - `d/tfe_registry_module`: Add `vcs_repo.tags` and `vcs_repo.branch` attributes to allow configuration of `publishing_mechanism`. Add `test_config` to support running tests on `branch`-based registry modules, by [@hashimoon](https://togithub.com/hashimoon) [1096](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1096) - **New Resource**: `r/tfe_organization_default_settings` is a new resource to set the `default_execution_mode` and `default_agent_pool_id` for an organization, by [@SwiftEngineer](https://togithub.com/SwiftEngineer) [1137](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1137)' - **New Resource**: `r/tfe_workspace_settings` Uses the `tfe_organization_default_settings` `default_execution_mode` and `default_agent_pool_id` as the default `execution_mode` by [@brandonc](https://togithub.com/brandonc) and [@laurenolivia](https://togithub.com/laurenolivia) [1159](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1159) - **New Resource**: `r/tfe_registry_gpg_key` is a new resource for managing private registry GPG keys, by [@tmatilai](https://togithub.com/tmatilai) [1160](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1160) - **New Data Source**: `d/tfe_registry_gpg_key` is a new data source to retrieve a private registry GPG key, by [@tmatilai](https://togithub.com/tmatilai) [1160](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1160) - **New Data Source**: `d/tfe_registry_gpg_keys` is a new data source to retrieve all private registry GPG keys of an organization, by [@tmatilai](https://togithub.com/tmatilai) [1160](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1160) ENHANCEMENTS: - `d/tfe_organization`: Make `name` argument optional if configured for the provider, by [@tmatilai](https://togithub.com/tmatilai) [1133](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1133) #### v0.50.0 FEATURES: - `r/tfe_workspace`: Add `auto_apply_run_trigger` attribute, by [@nfagerlund](https://togithub.com/nfagerlund) [1123](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1123) - `d/tfe_workspace`: Add `auto_apply_run_trigger` attribute, by [@nfagerlund](https://togithub.com/nfagerlund) [1123](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1123) - `r/tfe_variable_set`: Add `priority` attribute, by [@Netra2104](https://togithub.com/Netra2104) [1075](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1075) - `d/tfe_variable_set`: Add `priority` attribute, by [@Netra2104](https://togithub.com/Netra2104) [1075](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1075) BUG FIXES: - `r/tfe_policy_set`: Fix detecting spurious changes on every run when providing file contents with `tfe_slug`. This may require an updated version of tfc-agent for the full fix to take effect. Fixed by upgrading go-slug to v0.13.1 [1123](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1123) - `r/tfe_variable`: Fix nil pointer dereference segfault on client error during Update operations, by [@nfagerlund](https://togithub.com/nfagerlund) [1131](https://togithub.com/hashicorp/terraform-provider-tfe/1131) - provider: Fix an issue where the request body is not preserved during certain retry scenarios, by [@sebasslash](https://togithub.com/sebasslash) [1135](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1135) - provider: Fix a build failure for 32 bit linux architectures by [@brandonc](https://togithub.com/brandonc) [1139](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1139) #### v0.49.2 (October 4, 2023) BUG FIXES: - `d/tfe_outputs`: Fix incompatibility with the newly-released Terraform 1.6, which would result in a "Data Source Not Implemented" error. #### v0.49.1 (October 2, 2023) BUG FIXES: - Reverts previous bug fix for provider making two service discovery requests per provider config. This was an internal refactor that broke provider token configuration, by [@brandonc](https://togithub.com/brandonc) [1085](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1085) #### v0.49.0 (October 2, 2023) BUG FIXES: - `r/tfe_team_project_access`: Fixes a panic that occurs when the client is configured against an older TFE release, by [@sebasslash](https://togithub.com/sebasslash) [1011](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1011) - The provider no longer makes two service discovery requests per provider config, by [@brandonc](https://togithub.com/brandonc) [1034](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1034) - `d/tfe_policy_set`: Add `excluded_workspace_ids` attribute, by [@Netra2104](https://togithub.com/Netra2104) [1035](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1035) - `r/tfe_workspace_policy_set` and `r/tfe_workspace_policy_set_exclusion`: Removed workspace-related `include` parameters since included workspace data is not required to manage these resources, by [@jbonhag](https://togithub.com/jbonhag) [1080](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1080) FEATURES: - `d/tfe_organization_membership`: Add `organization_membership_id` attribute, by [@laurenolivia](https://togithub.com/laurenolivia) [997](https://togithub.com/hashicorp/terraform-provider-tfe/pull/997) - `d/tfe_variable_set`: Add `project_ids` attribute, by [@Netra2104](https://togithub.com/Netra2104) [994](https://togithub.com/hashicorp/terraform-provider-tfe/pull/994) - **New Data Source**: `d/tfe_teams` is a new data source to return names and IDs of Teams in an Organization, by [@isaacmcollins](https://togithub.com/isaacmcollins) [992](https://togithub.com/hashicorp/terraform-provider-tfe/pull/992) - **New Resource**: `r/tfe_workspace_policy_set_exclusion` is a new resource allowing the exclusion of one or more existing workspaces from an existing `policy set`, by [@Netra2104](https://togithub.com/Netra2104) [1033](https://togithub.com/hashicorp/terraform-provider-tfe/pull/1033) #### v0.48.0 (August 7, 2023) BUG FIXES: - `r/tfe_workspace`: Fix panic when updating `trigger_patterns` attribute, by [@liamstevens](https://togithub.com/liamstevens) [969](https://togithub.com/hashicorp/terraform-provider-tfe/pull/969) - `r/tfe_admin_organization_settings`: Allow reprovisioning when the parent organization has been deleted, by [@ctrombley](https://togithub.com/ctrombley) [982](https://togithub.com/hashicorp/terraform-provider-tfe/pull/982) FEATURES: - **New Resource**: `r/tfe_saml_settings` manages SAML Settings, by [@karvounis-form3](https://togithub.com/karvounis-form3) [970](https://togithub.com/hashicorp/terraform-provider-tfe/pull/970) - `d/tfe_saml_settings`: Add PrivateKey (sensitive), SignatureSigningMethod, and SignatureDigestMethod attributes, by [@karvounis-form3](https://togithub.com/karvounis-form3) [970](https://togithub.com/hashicorp/terraform-provider-tfe/pull/970) - **New Resource**: `r/tfe_project_policy_set` is a new resource to attach/detach an existing `project` to an existing `policy set`, by [@Netra2104](https://togithub.com/Netra2104) [972](https://togithub.com/hashicorp/terraform-provider-tfe/pull/972) - `d/tfe_policy_set`: Add `project_ids` attribute, by [@Netra2104](https://togithub.com/Netra2104) [974](https://togithub.com/hashicorp/terraform-provider-tfe/pull/974/files) - `r/tfe_team_project_access`: Add a `custom` option to the `access` attribute as well as `project_access` and `workspace_access` attributes with various customizable permissions options to apply to a project and all of the workspaces therein, by [@rberecka](https://togithub.com/rberecka) [983](https://togithub.com/hashicorp/terraform-provider-tfe/pull/983) - `d/team_project_access`: Add a `custom` option to the `access` attribute as well as `project_access` and `workspace_access` attributes, by [@rberecka](https://togithub.com/rberecka) [983](https://togithub.com/hashicorp/terraform-provider-tfe/pull/983) NOTES: - The provider is now using go-tfe [v1.32.0](https://togithub.com/hashicorp/go-tfe/releases/tag/v1.32.0) #### v0.47.0 (July 18, 2023) FEATURES: - **New Data Source**: `d/tfe_saml_settings` is a new data source to retrieve SAML settings from the Terraform Enterprise Admin API, by [@karvounis-form3](https://togithub.com/karvounis-form3) [952](https://togithub.com/hashicorp/terraform-provider-tfe/pull/952) BUG FIXES: - `d/tfe_project`: Ignore case when matching project name from Projects List API, by [@jbonhag](https://togithub.com/jbonhag) [958](https://togithub.com/hashicorp/terraform-provider-tfe/pull/958) #### v0.46.0 (July 3, 2023) FEATURES: - **New Resource**: `r/tfe_agent_pool_allowed_workspaces` restricts the use of an agent pool to particular workspaces, by [@hs26gill](https://togithub.com/hs26gill) [870](https://togithub.com/hashicorp/terraform-provider-tfe/pull/870) - `r/tfe_organization_token`: Add optional `expired_at` field to organization tokens, by [@juliannatetreault](https://togithub.com/juliannatetreault) ([#844](https://togithub.com/hashicorp/terraform-provider-tfe/pull/844)) - `r/tfe_team_token`: Add optional `expired_at` field to team tokens, by [@juliannatetreault](https://togithub.com/juliannatetreault) ([#844](https://togithub.com/hashicorp/terraform-provider-tfe/pull/844)) - `r/tfe_agent_pool`: Add attribute `organization_scoped` to set the scope of an agent pool, by [@hs26gill](https://togithub.com/hs26gill) [870](https://togithub.com/hashicorp/terraform-provider-tfe/pull/870) - `d/tfe_agent_pool`: Add attribute `organization_scoped` and `allowed_workspace_ids` to retrieve agent pool scope and associated allowed workspace ids, by [@hs26gill](https://togithub.com/hs26gill) [870](https://togithub.com/hashicorp/terraform-provider-tfe/pull/870) BUG FIXES: - `r/tfe_workspace_run`: Ensure `wait_for_run` correctly results in a fire-and-forget run when set to `false`, by [@lucymhdavies](https://togithub.com/lucymhdavies) ([#910](https://togithub.com/hashicorp/terraform-provider-tfe/pull/910)) - `r/tfe_workspace_run`: Fix rare random run failures; adjust lists of expected run statuses to ensure that a plan is completely processed before attempting to apply it, by [@uk1288](https://togithub.com/uk1288) ([#921](https://togithub.com/hashicorp/terraform-provider-tfe/pull/921)) - `r/tfe_notification_configuration`: Add support for missing "Check failed" Health Event notifications, by [@lucymhdavies](https://togithub.com/lucymhdavies) ([#927](https://togithub.com/hashicorp/terraform-provider-tfe/pull/927)) - `r/tfe_registry_module`: Fix a bug that prevented users from being able to create a registry module using a github app, by [@dsa0x](https://togithub.com/dsa0x) ([#935](https://togithub.com/hashicorp/terraform-provider-tfe/pull/935)) #### v0.45.0 (May 25, 2023) FEATURES: - `r/tfe_team`: Add attribute `manage_membership` to `organization_access` on `tfe_team` by [@JarrettSpiker](https://togithub.com/JarrettSpiker) ([#801](https://togithub.com/hashicorp/terraform-provider-tfe/pull/801)) - **New Resource**: `r/tfe_workspace_run` manages create and destroy lifecycles in a workspace, by [@uk1288](https://togithub.com/uk1288) ([#786](https://togithub.com/hashicorp/terraform-provider-tfe/pull/786)) - `r/tfe_variable`: Add a `readable_value` attribute, which will provide an un-redacted representation of the variable's value in plan outputs if the variable is not sensitive, and which may be referenced by downstream resources by [@JarrettSpiker](https://togithub.com/JarrettSpiker) ([#801](https://togithub.com/hashicorp/terraform-provider-tfe/pull/867)) ENHANCEMENTS: - `r/tfe_workspace`: Retry workspace safe delete if resources are still being processed to determine safety. ([#881](https://togithub.com/hashicorp/terraform-provider-tfe/pull/881)) BUG FIXES: - `r/tfe_variable`: Don't silently erase or override the `value` of a sensitive variable on changes to other attributes when `ignore_changes = [value]` is set, by [@nfagerlund](https://togithub.com/nfagerlund) ([#873](https://togithub.com/hashicorp/terraform-provider-tfe/pull/873), fixing issue [#839](https://togithub.com/hashicorp/terraform-provider-tfe/issues/839)) #### v0.44.1 (April 21, 2023) BUG FIXES: - Fixed a documentation bug in the new `r/tfe_no_code_module` resource, incorrectly labelling the attribute `registry_module` as `module` #### v0.44.0 (April 19, 2023) FEATURES: - **New Data Source**: `d/tfe_project` is a new data source to retrieve project id and associated workspace ids, by [@hs26gill](https://togithub.com/hs26gill) ([#829](https://togithub.com/hashicorp/terraform-provider-tfe/pull/829)) - **New Resource**: `r/tfe_project_variable_set` is a new resource to apply variable sets to projects, by [@jbonhag](https://togithub.com/jbonhag) and [@rberecka](https://togithub.com/rberecka) ([#837](https://togithub.com/hashicorp/terraform-provider-tfe/pull/837)) - **New Resource**: `r/tfe_no_code_module` is a new resource to manage no-code settings for registry modules, by [@dsa0x](https://togithub.com/dsa0x) ([#836](https://togithub.com/hashicorp/terraform-provider-tfe/pull/836)) **NOTE:** This resource is currently in beta and isn't generally available to all users. It is subject to change or removal. BUG FIXES: - `r/tfe_workspace`: Only set `oauth_token_id` and `github_app_installation_id` if configured, by [@moensch](https://togithub.com/moensch) ([#835](https://togithub.com/hashicorp/terraform-provider-tfe/pull/835)) DEPRECATIONS: - The `no_code` attribute in r/tfe_registry_module is deprecated in favor of the new resource `tfe_no_code_module`, which provides a more flexible interface for managing no-code settings for registry modules. The `no_code` attribute will be removed in the next major release of the provider. By [@dsa0x](https://togithub.com/dsa0x) ([#836](https://togithub.com/hashicorp/terraform-provider-tfe/pull/836)) #### v0.43.0 (March 23, 2023) FEATURES: - **New Data Source**: `d/tfe_organization_tags` is a new data source to allow reading all workspace tags within an organization, by [@rhughes1](https://togithub.com/rhughes1) ([#773](https://togithub.com/hashicorp/terraform-provider-tfe/pull/773)) - **New Data Source**: `d/tfe_github_app_installation` is a new data source to read a github app installation by name or github app in installation id, by [@roleesinhaHC](https://togithub.com/roleesinhaHC) ([#808](https://togithub.com/hashicorp/terraform-provider-tfe/pull/808)) - `r/tfe_workspace`: Add attribute `github_app_installation_id` to the `vcs_repo`, by [@roleesinhaHC](https://togithub.com/roleesinhaHC) ([#808](https://togithub.com/hashicorp/terraform-provider-tfe/pull/808)) - `r/tfe_registry_module`: Add attribute `github_app_installation_id` to the `vcs_repo`, by [@roleesinhaHC](https://togithub.com/roleesinhaHC) ([#808](https://togithub.com/hashicorp/terraform-provider-tfe/pull/808)) - `r/tfe_policy_set`: Add attribute `github_app_installation_id` to the `vcs_repo`, by [@roleesinhaHC](https://togithub.com/roleesinhaHC) ([#808](https://togithub.com/hashicorp/terraform-provider-tfe/pull/808)) - `r/tfe_workspace`, `d/tfe_workspace`: Add `source_name` and `source_url` to workspaces, by [@lucymhdavies](https://togithub.com/lucymhdavies) ([#527](https://togithub.com/hashicorp/terraform-provider-tfe/pull/527)) - `r/tfe_team`: Add `read_projects` and `read_workspaces` to the `organization_access` block, by [@SwiftEngineer](https://togithub.com/SwiftEngineer) ([#796](https://togithub.com/hashicorp/terraform-provider-tfe/pull/796)) - `r/tfe_team_project_access` and `d/tfe_team_project_access`: Added support for "maintain" and "write" project permissions, by [@joekarl](https://togithub.com/joekarl) and [@jbonhag](https://togithub.com/jbonhag) ([#826](https://togithub.com/hashicorp/terraform-provider-tfe/pull/826)) - `r/tfe_workspace` and `d/tfe_workspace`: Add attribute `html_url`, by [@brandonc](https://togithub.com/brandonc) ([#784](https://togithub.com/hashicorp/terraform-provider-tfe/pull/784)) - `r/tfe_organization_membership`: Organization Memberships can now be imported using `Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.