Skip to content

Releases: hashicorp/terraform-provider-tfe

v0.58.1

23 Aug 23:26
bffd1c7
Compare
Choose a tag to compare

Bug Fixes

  • Bump go-tfe for tfe_stack 'inconsistent state' error by @brandonc in #1448

v0.58.0

08 Aug 20:45
a6bf06c
Compare
Choose a tag to compare

ENHANCEMENTS:

BUG FIXES:

  • r/tfe_workspace html_url is now planned to be recomputed when name changes. Previously, changed values would show up on the next plan, by @brandonc 1422

v0.57.1

29 Jul 16:07
d82e459
Compare
Choose a tag to compare
  • r/tfe_stack initial support for this BETA feature was released in v0.57.0 but the documentation link was broken and it was not mentioned in the release notes. NOTE: This resource is subject to change and has limited support in HCP Terraform.
  • d/tfe_github_app_installation the documentation link for this resource was incorrectly named tfe_github_installation

v0.57.0

15 Jul 21:00
d98dc2b
Compare
Choose a tag to compare

FEATURES:

  • r/tfe_data_retention_policy is a new resource for managing data retention policies for organizations and workspaces, by @SwiftEngineer 1385
  • r/tfe_team: Add attribute manage_agent_pools to organization_access on tfe_team by @emlanctot #1358
  • r/tfe_workspace: Add an auto_destroy_activity_duration attribute for automatic scheduling of auto-destroy runs based off of workspace activity, by @notchairmk #1377
  • d/tfe_workspace: Add an auto_destroy_activity_duration, by @notchairmk #1377
  • d/tfe_organization_run_task_global_settings: Add a datasource to retrieve the global settings of Run tasks, by @glennsarti #1328
  • r/tfe_organization_run_task_global_settings: Add a resource to manage the global settings of Run tasks, by @glennsarti #1328
  • r/tfe_notification_configuration: Add workspace:auto_destroy_reminder and workspace:auto_destroy_run_results as allowed notification configuration trigger types, by @notchairmk #1394
  • r/tfe_workspace_settings: Remove workspace and agent pool ID validations, by @joekarl 1418
  • r/tfe_team_project_access: Remove project ID validation, by @joekarl 1418

DEPRECATIONS and BREAKING CHANGES:

  • r/_workspace_run_task: The stage attribute has been deprecated in favor of the stages attribute, by @glennsarti #1328
  • d/_workspace_run_task: The stage attribute has been deprecated in favor of the stages attribute, by @glennsarti #1328

v0.56.0

14 Jun 00:14
1da24dc
Compare
Choose a tag to compare

ENHANCEMENTS:

  • r/tfe_oauth_client: Add Bitbucket Data Center support with the bitbucket_data_center option for service_provider by @zainq11 #1303
  • r/tfe_workspace: Add an auto_destroy_at attribute for scheduling an auto-destroy run in the future, by @notchairmk 1354
  • d/tfe_workspace: Add an auto_destroy_at attribute for reading a scheduled auto-destroy, by @notchairmk 1354
  • r/tfe_registry_module: Add initial_version support for Branch Based Modules by @aaabdelgany #1363
  • r/tfe_oauth_client: Add agent_pool_id as an optional argument to enable Private VCS support, by @roleesinhaHC 1255
  • r/tfe_project: Increase the Project name length from 36 to 40 characters @hs26gill #1351

BUG FIXES:

  • r/tfe_registry_module: Prevents constant diff after a successful apply when tags and tests_enabled is not set by @Uk1288 #1357

v0.55.0

09 May 17:08
155ebe1
Compare
Choose a tag to compare

FEATURES

  • r/tfe_team: Add attributes manage_teams, manage_organization_access, and access_secret_teams to organization_access on tfe_team by @juliannatetreault #1313

v0.54.0

24 Apr 21:48
c98e7b1
Compare
Choose a tag to compare

v0.54.0

ENHANCEMENTS:

FEATURES:

  • d/tfe_oauth_client: Add project_ids attribute, by @Netra2104 1148
  • d/tfe_oauth_client: Add organization_scoped attribute, by @Netra2104 1148
  • New Resource: r/tfe_project_oauth_client attaches/detaches an existing project to an existing oauth client, by @Netra2104 1144
  • New Resource: r/tfe_test_variable is a new resource for creating environment variables used by registry modules for terraform test, by @aaabdelgany 1285

BUG FIXES:

  • r/tfe_organization_default_settings: Fix import resource address documentation by @Uk1288 #1324

v0.53.0

ENHANCEMENTS:

FEATURES:

  • r/tfe_workspace: Add ignore_additional_tag_names which explicitly ignores tag_names not defined by config so they will not be overwritten by the configured tags, by @brandonc and @mbillow 1254
  • r/tfe_oauth_client: Add organization_scoped attribute, by @Netra2104 1142

BUG FIXES:

  • r/tfe_registry_module: Fix registry module always triggering re-creation when an organization is not present, by @hashimoon 1263
  • r/tfe_workspace: Change the error message returned when a workspace cannot be safe-deleted to reflect that the error can happen when the latest state is still being processed @uturunku1 1274

ENHANCEMENTS:

  • r/tfe_registry_module: Update Delete method to call DeleteByName when module_provider is not present, and DeleteProvider when module_provider exists @laurenolivia1267

v0.52.0

FEATURES:

  • New Resource: r/tfe_registry_provider is a new resource for managing public and private providers in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_registry_provider is a new data source to retrieve information about a public or private provider in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_registry_providers is a new data source to retrieve information about public and private providers in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_no_code_module is a new data source to retrieve information about a no-code module, by @catsby 1242
  • New Resource: r/tfe_sentinel_version adds the ability for Terraform Enterprise admins to configure settings for sentinel versions (#1202)
  • New Resource: r/tfe_opa_version adds the ability for Terraform Enterprise admins to configure settings for OPA versions (#1202)
  • r/tfe_policy_set: Add agent_enabled and policy_tool_version attributes to allow setting a policy runtime version to the policy set, by @mrinalirao 1234
  • d/tfe_policy_set: Add agent_enabled and policy_tool_version attributes to get the policy runtime version of a policy set, by @mrinalirao 1234
  • r/tfe_organization: Add aggregated_commit_status_enabled attribute, by @mjyocca 1169
  • d/tfe_organization: Add aggregated_commit_status_enabled attribute, by @mjyocca 1169

BUG FIXES:

  • r/tfe_workspace: Fix panic on creation when trigger_prefixes = [""], by @nfagerlund 1214

v0.51.1

BUG FIXES:

  • r/tfe_admin_organization_settings: Fixed default provider organization usage, by @brandonc 1183
  • r/tfe_registry_gpg_key: Fixed update plans when using default organization, by @brandonc 1190
  • /r/tfe_workspace_settings: Fix compatibility with older versions of Terraform Enterprise when using agent execution by @brandonc 1193

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 1108
  • Fix the undetected change when modifying the organization default in the provider configuration by @brandonc 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 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 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 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 and @laurenolivia 1159
  • New Resource: r/tfe_registry_gpg_key is a new resource for managing private registry GPG keys, by @tmatilai 1160
  • New Data Source: d/tfe_registry_gpg_key is a new data source to retrieve a private registry GPG key, by @tmatilai 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 1160

ENHANCEMENTS:

  • d/tfe_organization: Make name argument optional if configured for the provider, by @tmatilai 1133

v0.50.0

FEATURES:

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
  • r/tfe_variable: Fix nil pointer dereference segfault on client error during Update operations, by @nfagerlund 1131
  • provider: Fix an issue where the request body is not preserved during certain retry scenarios, by @sebasslash 1135
  • provider: Fix a build failure for 32 bit linux architectures by @brandonc 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...
Read more

v0.53.0

14 Mar 17:15
bd170e9
Compare
Choose a tag to compare

v0.53.0

FEATURES:

  • r/tfe_workspace: Add ignore_additional_tag_names which explicitly ignores tag_names not defined by config so they will not be overwritten by the configured tags, by @brandonc and @mbillow 1254

BUG FIXES:

  • r/tfe_registry_module: Fix registry module always triggering re-creation when an organization is not present, by @hashimoon 1263
  • r/tfe_workspace: Change the error message returned when a workspace cannot be safe-deleted to reflect that the error can happen when the latest state is still being processed @uturunku1 1274

ENHANCEMENTS:

  • r/tfe_registry_module: Update Delete method to call DeleteByName when module_provider is not present, and DeleteProvider when module_provider exists @laurenolivia 1267

v0.52.0

FEATURES:

  • New Resource: r/tfe_registry_provider is a new resource for managing public and private providers in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_registry_provider is a new data source to retrieve information about a public or private provider in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_registry_providers is a new data source to retrieve information about public and private providers in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_no_code_module is a new data source to retrieve information about a no-code module, by @catsby 1242
  • New Resource: r/tfe_sentinel_version adds the ability for Terraform Enterprise admins to configure settings for sentinel versions (#1202)
  • New Resource: r/tfe_opa_version adds the ability for Terraform Enterprise admins to configure settings for OPA versions (#1202)
  • r/tfe_policy_set: Add agent_enabled and policy_tool_version attributes to allow setting a policy runtime version to the policy set, by @mrinalirao 1234
  • d/tfe_policy_set: Add agent_enabled and policy_tool_version attributes to get the policy runtime version of a policy set, by @mrinalirao 1234
  • r/tfe_organization: Add aggregated_commit_status_enabled attribute, by @mjyocca 1169
  • d/tfe_organization: Add aggregated_commit_status_enabled attribute, by @mjyocca 1169

BUG FIXES:

  • r/tfe_workspace: Fix panic on creation when trigger_prefixes = [""], by @nfagerlund 1214

v0.51.1

BUG FIXES:

  • r/tfe_admin_organization_settings: Fixed default provider organization usage, by @brandonc 1183
  • r/tfe_registry_gpg_key: Fixed update plans when using default organization, by @brandonc 1190
  • /r/tfe_workspace_settings: Fix compatibility with older versions of Terraform Enterprise when using agent execution by @brandonc 1193

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 1108
  • Fix the undetected change when modifying the organization default in the provider configuration by @brandonc 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 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 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 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 and @laurenolivia 1159
  • New Resource: r/tfe_registry_gpg_key is a new resource for managing private registry GPG keys, by @tmatilai 1160
  • New Data Source: d/tfe_registry_gpg_key is a new data source to retrieve a private registry GPG key, by @tmatilai 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 1160

ENHANCEMENTS:

  • d/tfe_organization: Make name argument optional if configured for the provider, by @tmatilai 1133

v0.50.0

FEATURES:

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
  • r/tfe_variable: Fix nil pointer dereference segfault on client error during Update operations, by @nfagerlund 1131
  • provider: Fix an issue where the request body is not preserved during certain retry scenarios, by @sebasslash 1135
  • provider: Fix a build failure for 32 bit linux architectures by @brandonc 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 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 1011
  • The provider no longer makes two service discovery requests per provider config, by @brandonc 1034
  • d/tfe_policy_set: Add excluded_workspace_ids attribute, by @Netra2104 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 1080

FEATURES:

  • d/tfe_organization_membership: Add organization_membership_id attribute, by @laurenolivia 997
  • d/tfe_variable_set: Add project_ids attribute, by @Netra2104 994
  • New Data Source: d/tfe_teams is a new data source to return names and IDs of Teams in an Organization, by @isaacmcollins 992
    ...
Read more

v0.52.0

08 Feb 23:55
3431681
Compare
Choose a tag to compare

FEATURES:

  • New Resource: r/tfe_registry_provider is a new resource for managing public and private providers in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_registry_provider is a new data source to retrieve information about a public or private provider in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_registry_providers is a new data source to retrieve information about public and private providers in the private registry, by @tmatilai 1185
  • New Data Source: d/tfe_no_code_module is a new data source to retrieve information about a no-code module, by @catsby 1242
  • New Resource: r/tfe_sentinel_version adds the ability for Terraform Enterprise admins to configure settings for sentinel versions (#1202)
  • New Resource: r/tfe_opa_version adds the ability for Terraform Enterprise admins to configure settings for OPA versions (#1202)
  • r/tfe_policy_set: Add agent_enabled and policy_tool_version attributes to allow setting a policy runtime version to the policy set, by @mrinalirao 1234
  • d/tfe_policy_set: Add agent_enabled and policy_tool_version attributes to get the policy runtime version of a policy set, by @mrinalirao 1234
  • r/tfe_organization: Add aggregated_commit_status_enabled attribute, by @mjyocca 1169
  • d/tfe_organization: Add aggregated_commit_status_enabled attribute, by @mjyocca 1169

BUG FIXES:

  • r/tfe_workspace: Fix panic on creation when trigger_prefixes = [""], by @nfagerlund 1214

v0.51.1

22 Dec 21:14
ff46e01
Compare
Choose a tag to compare

A patch release containing several bug fixes:

  • r/tfe_admin_organization_settings: Fixed default provider organization usage, by @brandonc 1183
  • r/tfe_registry_gpg_key: Fixed update plans when using default organization, by @brandonc 1190
  • /r/tfe_workspace_settings: Fix compatibility with older versions of Terraform Enterprise when using agent execution by @brandonc 1193