BUG FIXES:
r/tfe_stack: Fixed a bug where omitting thespeculative_enabledattribute caused plans to fail. The attribute is optional and defaults tofalseif not provided. By @arunatibm #1972r/tfe_registry_module: Adds support fornameandmodule_provideralongsidevcs_repowithsource_directory, by @jillirami #1959
FEATURES:
- Adds
project_remote_stateboolean attribute tor/tfe_workspace_settingsandd/tfe_workspacefor remote state sharing within a project, by @hs26gill #1953
ENHANCEMENTS:
- Added resource identities to the following resources:
r/tfe_agent_pool,r/tfe_organization_membership,r/tfe_policy,r/tfe_policy_set,r/tfe_project,r/tfe_registry_module,r/tfe_registry_provider,r/tfe_stack,r/tfe_team,r/tfe_team_member,r/tfe_variable,r/tfe_variable_set,r/tfe_workspace, by @sebasslash #1937 - Added the
stacks_enabledattribute to the Organization andspeculative_enabledto the Stack by @arunatibm #1963 r/tfe_workspace_run: Addmessageattribute to customize the run message/title. By @Shaunakone #1967
BUG FIXES:
r/tfe_variable: Fixed a bug where value_wo was ignored in tfe_variable resources when using variable_set_id. By @Maed223 #1950r/stack_variable_set: Fixed a bug to address incompatiblility of stacks variable set resource with older versions of TFE. By @smishra96 #1957r/tfe_variable_set: Fixed a bug to address incompatiblility of tfe variable set resource with older versions of TFE. By @smishra96 #1957r/tfe_workspace_run_task: Fixed a bug to address incompatiblility of tfe workspace run task resource with older versions of TFE. By @smishra96 #1957d/variable_set: Fixed a bug to address incompatiblility of variable set data source with older versions of TFE. By @smishra96 #1957
ENHANCEMENTS:
- Adds warning when using credentials/config file for authentication and running on cloud, by @christian-doucette #1890
- Adds support for creating stacks with the migration flag as well as consuming the creation_source field, by @aaabdelgany #1943
FEATURES:
d/tfe_organization_audit_configuration: is a new resource for reading the auditing configuration for an organizations, by @glennsarti-hashi #1778r/tfe_organization: Addsuser_tokens_enabledattribute to control whether user tokens can be used to read or update the organization.
FEATURES:
- New resource:
r/tfe_stack_variable_setfor managing associations between variable sets and stacks. r/tfe_variable_set: Addsstack_idsattribute for managing which stacks a variable set is applied to.d/tfe_variable_set: Addsstack_idscomputed attribute to retrieve which stacks a variable set is applied to.
FEATURES:
- New resource:
r/tfe_vault_oidc_configurationfor managing Vault OIDC configurations. by @helenjw #1835 - New resource:
r/tfe_aws_oidc_configurationfor managing AWS OIDC configurations. by @helenjw #1835 - New resource:
r/tfe_gcp_oidc_configurationfor managing GCP OIDC configurations. by @helenjw #1835 - New resource:
r/tfe_azure_oidc_configurationfor managing Azure OIDC configurations. by @helenjw. #1835 - New resource:
r/tfe_hyok_configurationfor managing HYOK configurations. by @helenjw #1835 - New Data Source:
d/hyok_customer_key_versionis a new data source for finding HYOK customer key versions. by @dominicretli #1842 - New Data Source:
d/hyok_encrypted_data_keyis a new data source for finding HYOK encrypted data keys. by @dominicretli #1842 r/tfe_organization: Adds theenforce_hyokboolean attribute, by @iuri-slywitch-hashicorp.d/tfe_organization: Adds theenforce_hyokboolean attribute, by @iuri-slywitch-hashicorp.r/tfe_workspace: Adds thehyok_enabledread-only boolean attribute, by @iuri-slywitch-hashicorp.d/tfe_workspace: Adds thehyok_enabledread-only boolean attribute, by @iuri-slywitch-hashicorp.d/tfe_workspace: Adds support for additional read-only attributes:locked,created_at,updated_at,environment,apply_duration_average,plan_duration_average,source,setting_overwrites,permissions, andactions. By @rageshganeshkumar.
FEATURES:
d/tfe_agent_pool: Adds theallowed_project_idsandexcluded_workspace_idsattributes, by @tylerworlf #1822r/tfe_agent_pool_allowed_projects: Adds support for scoping agent pools to projects, by @tylerworlf #1822r/tfe_agent_pool_excluded_workspaces: Adds support for excluding workspaces from the scope of agent pools, by @tylerworlf #1822r/tfe_project_settings: Adds support for managing project settings. This initially supports setting adefault_execution_modeanddefault_agent_pool_idwhich override the organization defaults. When not specified in the configuration, the organization defaults will be used and can be read from the resource. by @JarrettSpiker #1822
BUG FIXES:
r/tfe_workspace_settings: Prevent unintended clearing of workspace-level tags on the first apply when tags is unset by making tag updates sparse. By @shwetamurali #1851
DEPRECATIONS:
r/tfe_stackThedeployment_nameshas been removed, by @maed223 #1855
BREAKING CHANGES:
All resources have been upgraded to use the latest Terraform plugin protocol. This provider now requires a Terraform version of v1.0.0 or later.
ENHANCEMENTS:
r/tfe_registry_module: Add support foragent_execution_modeandagent_pool_idattributes intest_configblock to enable running registry module tests on custom agent pools. By @hashimoon #1832r/tfe_oauth_client: Theoauth_tokenattribute no longer triggers resource replacement unless combined with other replacement-triggering attributes. Useterraform apply -replaceto force replacement. By @lilincmu #1825
FEATURES:
r/tfe_registry_module: Addsource_directoryandtag_prefixregistry module support for private registry monorepository, which is a beta feature and not available to all users, by @jillirami (#1800)r/tfe_stackAdds support for managing agent pools on a Stack, by @maed223 #1836r/tfe_terraform_version: Adds support for specifying architecture-specific binaries using thearchsattribute, by @kelsi-hoyle 1762r/tfe_opa_version: Adds support for specifying architecture-specific binaries using thearchsattribute, by @kelsi-hoyle 1762r/tfe_sentinel_version: Adds support for specifying architecture-specific binaries using thearchsattribute, by @kelsi-hoyle 1762
DEPRECATIONS:
r/tfe_terraform_version: Theurlandshaattributes are deprecated and will be removed in a future version. Use thearchsattribute to specify architecture-specific binaries going forward, by @kelsi-hoyle 1762r/tfe_opa_version: Theurlandshaattributes are deprecated and will be removed in a future version. Use thearchsattribute to specify architecture-specific binaries going forward, by @kelsi-hoyle 1762r/tfe_sentinel_version: Theurlandshaattributes are deprecated and will be removed in a future version. Use thearchsattribute to specify architecture-specific binaries going forward, by @kelsi-hoyle 1762r/tfe_oauth_client: Theoauth_tokenattribute no longer triggers resource replacement unless combined with other replacement-triggering attributes. Useterraform apply -replaceto force replacement. By @lilincmu #1825r/tfe_test_variable: Add missing argument reference and attributes documentation (#1625)
BUG FIXES:
r/tfe_notification_configuration: update url attribute to be sensitive, by @jillirami #1799d/tfe_project: fixes: 'duplicate set element' error, as workspaces can appear multiple times in get /workspaces, by @lewis-catley #1817r/tfe_workspace: fixed documentation Example Usages to use thetfe_organization.test-organization.nameas organization namer/tfe_workspace_run: fixed documentation Example Usages to use thetfe_organization.test-organization.nameas organization name
BUG FIXES:
r/tfe_workspace_settings: during create, true boolean values set on tfe_workspace can be overwritten if omitted from tfe_workspace_settings config. #1795
BUG FIXES:
r/tfe_workspace_settings: remove the schema default for auto_apply in case it is managed byr/tfe_workspace#1787r/tfe_workspace_settings: fixes an error when reading the workspace about an invalid include value when used with some versions of Terraform Enterprise #1788
FEATURES:
r/tfe_workspace_settings: offers more arguments for managing the workspace configuration, by @drewmullen #1781
BUG FIXES:
r/tfe_workspaceupdatetagsto be a computed attribute, by @Maed223 #1767
ENHANCEMENTS:
r/tfe_stackAdds support for creating a Stack without specifying a VCS repo, by @sujaysamanta #1760
BUG FIXES:
d/tfe_outputs: fixes 'error inferring type for key' for output objects that had a key with null value. (#1709), by @uturunku1 #1699r/tfe_workspace_settings: fixesProvider produced inconsistent result after applyerror when settingremote_state_consumer_idsto an empty set in config. #1728ephemeral-resources/tfe_team_token: Ephemeral team tokens are now only valid within the context of a Terraform run, by @ctrombley #1736
FEATURES:
r/tfe_team_token: Adds support for creating multiple team tokens for a single team by adding thedescriptionattribute, which must be unique per team, by @mkam #1698
DEPRECATIONS:
ephemeral-resources/tfe_organization_token: Ephemeral organization tokens have been removed, by @ctrombley #1736ephemeral-resources/tfe_agent_token: Ephemeral agent tokens have been removed, by @ctrombley #1736ephemeral-resources/tfe_audit_trail_token: Ephemeral audit trail tokens have been removed, by @ctrombley #1736
BUG FIXES:
r/tfe_notification_configuration: update attribute validator to allow variable refs (#1696), by @uturunku1 #1705r/tfe_team_token: do not clear token from state after upgrade (#1700), by @ctrombley #1706r/tfe_policy_set_parameter: fix schema errors, by @ctrombley #1706
BUG FIXES:
d/tfe_outputs: fix regression after framework upgrade (#1697), by @ctrombley #1699
FEATURES:
Note: New tag attributes are only available in HCP Terraform and Terraform Enterprise releases v202504-1 or later
-
New Ephemeral Resource:
tfe_audit_trail_tokenis a new ephemeral resource for creating and managing audit trail tokens, by @uturunku1 #1675 -
New Ephemeral Resource:
tfe_organization_tokenis a new ephemeral resource for creating and managing organization tokens, by @ctrombley #1616 -
New Ephemeral Resource:
tfe_team_tokenis a new ephemeral resource for creating and managing team tokens in an organization, by @shwetamurali and @ctrombley #1628 -
New Ephemeral Resource:
tfe_agent_tokenis a new ephemeral resource for creating and managing agent tokens, by @uturunku1 (#1627) -
New Ephemeral Resource:
tfe_outputsis a new ephemeral resource for retrieving the state version outputs of a workspace without writing sensitive data to the state file, by @ctrombley #1640 -
New Data Source:
tfe_registry_moduleis a new data source for finding registry modules by @drewmullen and @danquack #1667 -
New Ephemeral Resource:
agent_tokenis a new ephemeral resource for creating and managing agent tokens, by @uturunku1 (#1627) -
r/tfe_project: Addstagsandignore_additional_tagsattribute, by @sebasslash #1543 -
r/tfe_workspace: Addstags,ignore_additional_tagsandeffective_tagsattribute, by @sebasslash #1543 -
d/tfe_project: Adds theeffective_tagsattribute, by @sebasslash #1543 -
d/tfe_workspace: Adds theeffective_tagsattribute which reflects all effective tags computed on the workspace, by @sebasslash #1543 -
d/tfe_workspace_ids: Adds thetag_filtersattribute which filters the list of workspace IDs specified by theincludeorexcludefields, by @sebasslash #1543
ENHANCEMENTS:
-
r/tfe_variable: Addvalue_wowrite-only attribute, by @uturunku1 (#1639) -
r/tfe_test_variable: Addvalue_wowrite-only attribute, by @uturunku1 (#1639) -
r/tfe_policy_set_parameter: Addvalue_wowrite-only attribute, by @ctrombley (#1641) -
r/tfe_organization_run_task: Addhmac_key_wowrite-only attribute, by @shwetamurali (#1646) -
r/tfe_saml_settings: Addprivate_key_wowrite-only attribute, by @uturunku1 (#1660) -
r/tfe_ssh_key: Addkey_wowrite-only attribute, by @ctrombley (#1659) -
r/tfe_team_notification_configuration: Addtoken_wowrite-only attribute, by @shwetamurali (#1665) -
r/tfe_notification_configuration: Addtoken_wowrite-only attribute, by @uturunku1 (#1664) -
r/tfe_workspace: Do not force recreation of workspace if users do not providesource_nameorsource_url. #1674
BUG FIXES:
r/tfe_oauth_client: Ensureoauth_token_idupdates register when performing aterraform apply, by @hashimoon #1631
FEATURES:
r/tfe_project: Addauto_destroy_activity_durationfield to the project resource, which automatically propagates auto-destroy settings to workspaces 1550d/tfe_project: Addauto_destroy_activity_durationfield to the project datasource 1550r/tfe_team_project_access: Addvariable_setsattribute toproject_access, by @mkam #1565
BUG FIXES:
-
r/tfe_stack: Fix serialization issue when using github app installation within vcs_repo block, by @mjyocca #1572 -
r/tfe_workspace_settings: Prevent fetching of all workspaces as theremote_state_consumer_idswhenglobal_remote_stateis set to true, by @uk1288 #1606
BUG FIXES:
r/tfe_workspace_settings: Allow multiple unknown values inremote_state_consumer_ids, by @brandonc #1569
FEATURES:
- New Resource:
tfe_team_notification_configurationis a new resource for managing team notification configurations, by @jfreda (#1540)
FEATURES:
r/tfe_variable_set: Addparent_project_idattribute, by @mkam #1522
DEPRECATIONS:
r/tfe_workspace:global_remote_stateandremote_state_consumer_idshave been deprecated and moved totfe_workspace_settings(see ENHANCEMENTS below for more details)
FEATURES:
r/tfe_audit_trail_tokenis a new resource for managing audit trail tokens in organization, by @glensarti and @c4po 1533
BUG FIXES:
r/tfe_policy: enforcement level can be updated on OPA policies by @glennsarti #1521
ENHANCEMENTS:
r/tfe_workspace_settings:global_remote_stateandremote_state_consumer_idscan now be managed usingtfe_workspace_settings. This enhancement avoids the possibility of a mutual dependency between two or more workspaces that may access each others' state by @brandonc #1524
BUG FIXES:
r/tfe_no_code_module: Wait for the registry module version to be created before creating the no-code-module. Also, the version_pin attribute must be set when variable options are created by @dsa0x #1504r/tfe_workspace_run_task: Do not error when reading workspace tasks that no longer exist by @glennsarti #1500r/tfe_organization_run_task: Do not error when reading organization tasks that no longer exist by @glennsarti #1500r/tfe_organization_run_task_global_settings: Do not error when reading organization task global settings that no longer exist by @glennsarti #1500
FEATURES:
r/tfe_organization: Addspeculative_plan_management_enabledattribute, by @lilincmu #1509d/tfe_organization: Addspeculative_plan_management_enabledattribute, by @lilincmu #1509
r/tfe_team: Default "secret" visibility has been removed from tfe_team because it now requires explicit or owner access. The default, "organization", is now computed by the platform. by @brandonc #1439
BUG FIXES:
r/tfe_workspace_run_task: The Workspace Run Task resource will use the stages attribute by @glennsarti #1459
ENHANCEMENTS:
d/tfe_project: Addworkspace_namesattribute, by @1natedawg #1429r/tfe_team: Add attributeallow_member_token_managementtotfe_teamby @juliannatetreault #1398
BUG FIXES:
r/tfe_workspacehtml_url is now planned to be recomputed whennamechanges. Previously, changed values would show up on the next plan, by @brandonc 1422
r/tfe_stackinitial 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_installationthe documentation link for this resource was incorrectly named tfe_github_installation
FEATURES:
r/tfe_data_retention_policyis a new resource for managing data retention policies for organizations and workspaces, by @SwiftEngineer 1385r/tfe_team: Add attributemanage_agent_poolstoorganization_accessontfe_teamby @emlanctot #1358r/tfe_workspace: Add anauto_destroy_activity_durationattribute for automatic scheduling of auto-destroy runs based off of workspace activity, by @notchairmk #1377d/tfe_workspace: Add anauto_destroy_activity_duration, by @notchairmk #1377d/tfe_organization_run_task_global_settings: Add a datasource to retrieve the global settings of Run tasks, by @glennsarti #1328r/tfe_organization_run_task_global_settings: Add a resource to manage the global settings of Run tasks, by @glennsarti #1328r/tfe_notification_configuration: Addworkspace:auto_destroy_reminderandworkspace:auto_destroy_run_resultsas allowed notification configuration trigger types, by @notchairmk #1394r/tfe_workspace_settings: Remove workspace and agent pool ID validations, by @joekarl 1418r/tfe_team_project_access: Remove project ID validation, by @joekarl 1418
DEPRECATIONS and BREAKING CHANGES:
r/_workspace_run_task: Thestageattribute has been deprecated in favor of thestagesattribute, by @glennsarti #1328d/_workspace_run_task: Thestageattribute has been deprecated in favor of thestagesattribute, by @glennsarti #1328
ENHANCEMENTS:
r/tfe_oauth_client: Add Bitbucket Data Center support with thebitbucket_data_centeroption forservice_providerby @zainq11 #1303r/tfe_workspace: Add anauto_destroy_atattribute for scheduling an auto-destroy run in the future, by @notchairmk 1354d/tfe_workspace: Add anauto_destroy_atattribute for reading a scheduled auto-destroy, by @notchairmk 1354r/tfe_registry_module: Addinitial_versionsupport for Branch Based Modules by @aaabdelgany #1363r/tfe_oauth_client: Addagent_pool_idas an optional argument to enable Private VCS support, by @roleesinhaHC 1255r/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 whentagsandtests_enabledis not set by @Uk1288 #1357
FEATURES:
- New Data Source:
d/tfe_projectsis a new data source to retrieve all projects in an organization, by @tdevelioglu
FEATURES:
r/tfe_team: Add attributesmanage_teams,manage_organization_access, andaccess_secret_teamstoorganization_accessontfe_teamby @juliannatetreault #1313
NOTES:
- This release's changes have been edited for correctness. #1351 (
r/tfe_project: Increase the Project name length from 36 to 40 characters) was erroneously reported as included in the v0.55.0 release. Those changes have been included in v0.56.0.
ENHANCEMENTS:
- Rebrand Terraform Cloud to HCP Terraform by @sebasslash #1328
- Adds
post_applyto list of possiblestagesfor Run Tasks by @carolinaborim #1307
FEATURES:
d/tfe_oauth_client: Addproject_idsattribute, by @Netra2104 1148d/tfe_oauth_client: Addorganization_scopedattribute, by @Netra2104 1148- New Resource:
r/tfe_project_oauth_clientattaches/detaches an existingprojectto an existingoauth client, by @Netra2104 1144 - New Resource:
r/tfe_test_variableis 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
ENHANCEMENTS:
r/tfe_project: Adddescriptionattribute, by @netramali 1271d/tfe_project: Adddescriptionattribute, by @netramali 1271
FEATURES:
r/tfe_workspace: Addignore_additional_tag_nameswhich explicitly ignorestag_namesnot defined by config so they will not be overwritten by the configured tags, by @brandonc and @mbillow 1254r/tfe_oauth_client: Addorganization_scopedattribute, by @Netra2104 1142
BUG FIXES:
r/tfe_registry_module: Fix registry module always triggering re-creation when an organization is not present, by @hashimoon 1263r/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: UpdateDeletemethod to callDeleteByNamewhenmodule_provideris not present, andDeleteProviderwhenmodule_providerexists @laurenolivia1267
FEATURES:
- New Resource:
r/tfe_registry_provideris a new resource for managing public and private providers in the private registry, by @tmatilai 1185 - New Data Source:
d/tfe_registry_provideris 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_providersis 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_moduleis a new data source to retrieve information about a no-code module, by @catsby 1242 - New Resource:
r/tfe_sentinel_versionadds the ability for Terraform Enterprise admins to configure settings for sentinel versions (#1202) - New Resource:
r/tfe_opa_versionadds the ability for Terraform Enterprise admins to configure settings for OPA versions (#1202) r/tfe_policy_set: Addagent_enabledandpolicy_tool_versionattributes to allow setting a policy runtime version to the policy set, by @mrinalirao 1234d/tfe_policy_set: Addagent_enabledandpolicy_tool_versionattributes to get the policy runtime version of a policy set, by @mrinalirao 1234r/tfe_organization: Addaggregated_commit_status_enabledattribute, by @mjyocca 1169d/tfe_organization: Addaggregated_commit_status_enabledattribute, by @mjyocca 1169
BUG FIXES:
r/tfe_workspace: Fix panic on creation whentrigger_prefixes = [""], by @nfagerlund 1214
BUG FIXES:
r/tfe_admin_organization_settings: Fixed default provider organization usage, by @brandonc 1183r/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
DEPRECATIONS and BREAKING CHANGES:
r/tfe_workspace:execution_modeandagent_pool_idattributes 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 unsetexecution_modeoragent_pool_idwithout also creating atfe_workspace_settings, the setting will no longer revert to the default "remote" mode. To migrate, relocate theexecution_modeandagent_pool_idarguments totfe_workspace_settings.
BUG FIXES:
r/tfe_policy: Fix the provider ignoring updates to thequeryfield, by @skeggse 1108- Fix the undetected change when modifying the
organizationdefault in the provider configuration by @brandonc 1152 - New resource
r/tfe_workspace_settings: Can be used to break any circular dependency betweentfe_workspaceandtfe_agent_pool_allowed_workspacesby managing theagent_pool_idfor a Workspace by @brandonc 1159
FEATURES:
d/tfe_registry_module: Addvcs_repo.tagsandvcs_repo.branchattributes to allow configuration ofpublishing_mechanism. Addtest_configto support running tests onbranch-based registry modules, by @hashimoon 1096- New Resource:
r/tfe_organization_default_settingsis a new resource to set thedefault_execution_modeanddefault_agent_pool_idfor an organization, by @SwiftEngineer 1137' - New Resource:
r/tfe_workspace_settingsUses thetfe_organization_default_settingsdefault_execution_modeanddefault_agent_pool_idas the defaultexecution_modeby @brandonc and @laurenolivia 1159 - New Resource:
r/tfe_registry_gpg_keyis a new resource for managing private registry GPG keys, by @tmatilai 1160 - New Data Source:
d/tfe_registry_gpg_keyis a new data source to retrieve a private registry GPG key, by @tmatilai 1160 - New Data Source:
d/tfe_registry_gpg_keysis a new data source to retrieve all private registry GPG keys of an organization, by @tmatilai 1160
ENHANCEMENTS:
d/tfe_organization: Makenameargument optional if configured for the provider, by @tmatilai 1133
FEATURES:
r/tfe_workspace: Addauto_apply_run_triggerattribute, by @nfagerlund 1123d/tfe_workspace: Addauto_apply_run_triggerattribute, by @nfagerlund 1123r/tfe_variable_set: Addpriorityattribute, by @Netra2104 1075d/tfe_variable_set: Addpriorityattribute, by @Netra2104 1075
BUG FIXES:
r/tfe_policy_set: Fix detecting spurious changes on every run when providing file contents withtfe_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 1123r/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
BUG FIXES:
d/tfe_outputs: Fix incompatibility with the newly-released Terraform 1.6, which would result in a "Data Source Not Implemented" error.
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
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: Addexcluded_workspace_idsattribute, by @Netra2104 1035r/tfe_workspace_policy_setandr/tfe_workspace_policy_set_exclusion: Removed workspace-relatedincludeparameters since included workspace data is not required to manage these resources, by @jbonhag 1080
FEATURES:
d/tfe_organization_membership: Addorganization_membership_idattribute, by @laurenolivia 997d/tfe_variable_set: Addproject_idsattribute, by @Netra2104 994- New Data Source:
d/tfe_teamsis a new data source to return names and IDs of Teams in an Organization, by @isaacmcollins 992 - New Resource:
r/tfe_workspace_policy_set_exclusionis a new resource allowing the exclusion of one or more existing workspaces from an existingpolicy set, by @Netra2104 1033
BUG FIXES:
r/tfe_workspace: Fix panic when updatingtrigger_patternsattribute, by @liamstevens 969r/tfe_admin_organization_settings: Allow reprovisioning when the parent organization has been deleted, by @ctrombley 982
FEATURES:
- New Resource:
r/tfe_saml_settingsmanages SAML Settings, by @karvounis-form3 970 d/tfe_saml_settings: Add PrivateKey (sensitive), SignatureSigningMethod, and SignatureDigestMethod attributes, by @karvounis-form3 970- New Resource:
r/tfe_project_policy_setis a new resource to attach/detach an existingprojectto an existingpolicy set, by @Netra2104 972 d/tfe_policy_set: Addproject_idsattribute, by @Netra2104 974r/tfe_team_project_access: Add acustomoption to theaccessattribute as well asproject_accessandworkspace_accessattributes with various customizable permissions options to apply to a project and all of the workspaces therein, by @rberecka 983d/team_project_access: Add acustomoption to theaccessattribute as well asproject_accessandworkspace_accessattributes, by @rberecka 983
NOTES:
- The provider is now using go-tfe v1.32.0
FEATURES:
- New Data Source:
d/tfe_saml_settingsis a new data source to retrieve SAML settings from the Terraform Enterprise Admin API, by @karvounis-form3 952
BUG FIXES:
d/tfe_project: Ignore case when matching project name from Projects List API, by @jbonhag 958
FEATURES:
- New Resource:
r/tfe_agent_pool_allowed_workspacesrestricts the use of an agent pool to particular workspaces, by @hs26gill 870 r/tfe_organization_token: Add optionalexpired_atfield to organization tokens, by @juliannatetreault (#844)r/tfe_team_token: Add optionalexpired_atfield to team tokens, by @juliannatetreault (#844)r/tfe_agent_pool: Add attributeorganization_scopedto set the scope of an agent pool, by @hs26gill 870d/tfe_agent_pool: Add attributeorganization_scopedandallowed_workspace_idsto retrieve agent pool scope and associated allowed workspace ids, by @hs26gill 870
BUG FIXES:
r/tfe_workspace_run: Ensurewait_for_runcorrectly results in a fire-and-forget run when set tofalse, by @lucymhdavies (#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 (#921)r/tfe_notification_configuration: Add support for missing "Check failed" Health Event notifications, by @lucymhdavies (#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 (#935)
FEATURES:
r/tfe_team: Add attributemanage_membershiptoorganization_accessontfe_teamby @JarrettSpiker (#801)- New Resource:
r/tfe_workspace_runmanages create and destroy lifecycles in a workspace, by @uk1288 (#786) r/tfe_variable: Add areadable_valueattribute, 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 (#801)
ENHANCEMENTS:
r/tfe_workspace: Retry workspace safe delete if resources are still being processed to determine safety. (#881)
BUG FIXES:
r/tfe_variable: Don't silently erase or override thevalueof a sensitive variable on changes to other attributes whenignore_changes = [value]is set, by @nfagerlund (#873, fixing issue #839)
BUG FIXES:
- Fixed a documentation bug in the new
r/tfe_no_code_moduleresource, incorrectly labelling the attributeregistry_moduleasmodule
FEATURES:
-
New Data Source:
d/tfe_projectis a new data source to retrieve project id and associated workspace ids, by @hs26gill (#829) -
New Resource:
r/tfe_project_variable_setis a new resource to apply variable sets to projects, by @jbonhag and @rberecka (#837) -
New Resource:
r/tfe_no_code_moduleis a new resource to manage no-code settings for registry modules, by @dsa0x (#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 setoauth_token_idandgithub_app_installation_idif configured, by @moensch (#835)
DEPRECATIONS:
- The
no_codeattribute in r/tfe_registry_module is deprecated in favor of the new resourcetfe_no_code_module, which provides a more flexible interface for managing no-code settings for registry modules. Theno_codeattribute will be removed in the next major release of the provider. By @dsa0x (#836)
FEATURES:
- New Data Source:
d/tfe_organization_tagsis a new data source to allow reading all workspace tags within an organization, by @rhughes1 (#773) - New Data Source:
d/tfe_github_app_installationis a new data source to read a github app installation by name or github app in installation id, by @roleesinhaHC (#808) r/tfe_workspace: Add attributegithub_app_installation_idto thevcs_repo, by @roleesinhaHC (#808)r/tfe_registry_module: Add attributegithub_app_installation_idto thevcs_repo, by @roleesinhaHC (#808)r/tfe_policy_set: Add attributegithub_app_installation_idto thevcs_repo, by @roleesinhaHC (#808)r/tfe_workspace,d/tfe_workspace: Addsource_nameandsource_urlto workspaces, by @lucymhdavies (#527)r/tfe_team: Addread_projectsandread_workspacesto theorganization_accessblock, by @SwiftEngineer (#796)r/tfe_team_project_accessandd/tfe_team_project_access: Added support for "maintain" and "write" project permissions, by @joekarl and @jbonhag (#826)r/tfe_workspaceandd/tfe_workspace: Add attributehtml_url, by @brandonc (#784)r/tfe_organization_membership: Organization Memberships can now be imported using<ORGANIZATION NAME>/<USER EMAIL>, by @JarrettSpiker (#715)
ENHANCEMENTS:
- Clarify usage of
organizationfields in documentation describing VCS repository config blocks, by @brandonc (#792) r/tfe_workspace: Clarify error message shown when attempting to safe-delete a workspace on a version of TFE which does not support safe delete, by @JarrettSpiker (#803)
FEATURES:
- New Provider Config:
organization(or theTFE_ORGANIZATIONenvironment variable) defines a default organization for all resources, making all resource-specific organization arguments optional, by @brandonc (#762) - New Resource:
r/tfe_team_project_accessmanages team project permissions, by @mwudka (#768) - New Data Source:
d/tfe_team_project_accessreads existing team project permissions, by @mwudka (#768) r/tfe_team: Add attributemanage_projectstotfe_team, by @mwudka (#768)r/tfe_team: Teams can now be imported using<ORGANIZATION NAME>/<TEAM NAME>, by @JarrettSpiker (#745)r/tfe_team_organization_member: Team Organization Memberships can now be imported using<ORGANIZATION NAME>/<USER EMAIL>/<TEAM NAME>, by @JarrettSpiker (#745)
ENHANCEMENTS:
- Update API doc links from terraform.io to developer.hashicorp domain by @uk1288 #764
- Update website docs to depict the use of set with
tfe_team_organization_membersandtfe_team_membersby @uk1288 #767 d/tfe_workspace: Addexecution_modefield to workspace datasource @Uk1288 (#772)
BUG FIXES:
r/tfe_workspace: Return all workspace safe deletion errors by @skeggse (#758)
BUG FIXES:
- d/tfe_workspace_ids: When no wildcards were used in the names argument a substring match was being performed anyway @brandonc (#752)
FEATURES:
- r/tfe_workspace: Add attribute
resource_counttotfe_workspaceby @rhughes1 (#682) - d/tfe_outputs: Add
nonsensitive_valuesattribute to expose current non-sensitive outputs of a given workspace @Uk1288 (#711) - r/tfe_workspace: Adds validation to tag_names argument to ensure tags are lowercase and don't contain invalid characters @brandonc (#743)
DEPRECATIONS:
- r/tfe_sentinel_policy is deprecated in favor of the new resource
tfe_policy, which supports both Sentinel and OPA policies - r/tfe_organization_module_sharing is deprecated in favor of the new resource
tfe_admin_organization_settings, which supports the global module sharing option
FEATURES:
- New Resource:
tfe_admin_organization_settings(#709) adds the ability for Terraform Enterprise admins to configure settings for an organization, including module consumers and global module sharing config. - New Resource:
tfe_policyis a new resource that supports both Sentinel as well as OPA policies.tfe_sentinel_policynow includes a deprecation warning. (#690) - New Resource:
tfe_projectallows managing projects, which is an upcoming feature of Terraform Cloud and may not yet be generally available. (#704) - d/tfe_workspace_ids: Add support for filtering workspace names with partial matching using
*(#698) - r/tfe_workspace: Add preemptive check for resources under management when
force_deleteattribute is false (#699) - r/tfe_policy_set: Add OPA support for policy sets. (#691)
- d/tfe_policy_set: Add optional
kindandoverridablefields for OPA policy sets (#691) - r/tfe_policy: enforce_mode is no longer a required property (#705)
- d/tfe_organization: Add computed
default_project_idfield to support projects (#704) - r/tfe_workspace: Add optional
project_idargument to support projects (#704) - d/tfe_workspace: Add optional
project_idargument to support projects (#704)
FEATURES:
- r/tfe_workspace_run_task: Removed beta notices on the
stageattribute for workspace run tasks. (#669) - r/registry_module: Adds
no_codefield. (#673) - r/tfe_organization: Add
allow_force_delete_workspacesattribute to set whether admins are permitted to delete workspaces with resource under management. (#661) - r/tfe_workspace: Add
force_deleteattribute to set whether workspaces will be force deleted when removed through the provider. Otherwise, they will be safe deleted. (#675) - r/tfe_notification_configuration: Add assessment triggers to notifications (#676)
FEATURES:
- d/tfe_oauth_client: Adds
name,service_provider,service_provider_display_name,organization,callback_url, andcreated_atfields, and enables searching for an OAuth client withorganization,name, andservice_provider. (#599) - d/tfe_organization_members: Add datasource for organization_members that returns a list of active members and members with pending invite in an organization. (#635)
- d/tfe_organization_membership: Add new argument
usernameto enable fetching an organization membership by username. (#660) - r/tfe_organization_membership: Add new computed attribute
username. (#660) - r/tfe_team_organization_members: Add resource for managing team members via organization membership IDs (#617)
BUG FIXES:
- r/tfe_workspace: When assessments_enabled was the only change in to the resource the workspace was not being updated (#641)
NOTES:
FEATURES:
- r/tfe_workspace: Changes in
agent_pool_idandexecution_modeattributes are now detected and applied. (#607) - r/tfe_workspace_run_task, d/tfe_workspace_run_task: Add
stageattribute to workspace run tasks. (#555) - r/tfe_workspace_policy_set: Add ability to attach an existing
workspaceto an existingpolicy set. (#591) - Add attributes for health assessments (drift detection) - available only in Terraform Cloud (550):
- r/tfe_workspace: Add attribute
assessments_enabled - d/tfe_workspace: Add attribute
assessments_enabled - r/tfe_organization: Added attribute
assessments_enforced - d/tfe_organization: Added attribute
assessments_enforced
- r/tfe_workspace: Add attribute
BUG FIXES:
- Bump
terraform-plugin-gotov0.6.0, due to a crash whentfe_outputshad null values. (#611) - r/tfe_workspace: Fix documentation of file_triggers_enabled default. (#627)
- r/tfe_variable_set: Fix panic when applying variable set to workspaces fails (#628)
FEATURES:
- r/tfe_organization_run_task, d/tfe_organization_run_task: Add
descriptionattribute to organization run tasks. (#585) - d/tfe_policy_set: Add datasource for policy_set (#592)
- r/tfe_workspace: Adds
tags_regexattribute tovcs_repofor workspaces, enabling a workspace to trigger runs for matching Git tags. (#549) - r/agent_pool: Agent Pools can now be imported using
<ORGANIZATION NAME>/<AGENT POOL NAME>(#561)
BUG FIXES:
- d/tfe_outputs: Fix a bug causing sensitive values to be missing from tfe_outputs (#565)
BREAKING CHANGES:
r/tfe_organization:admin_settingsattribute was removed after being released prematurely in 0.34.0, breaking existing configurations due to requiring a token with admin privileges (#573)
BUG FIXES:
- r/tfe_registry_module: Added
Computedmodifier to attributes in order to prevent unnecessary resource replacement (#572)
BUG FIXES:
- Removed nonworking example from
tfe_variable_setdocs (#562) - Removed
ForceNewmodifier fromnameattribute inr/tfe_team(#566) - r/tfe_workspace: Fix
trigger-prefixescould not be updated because of the conflict withtrigger-patternsin some cases - as described in this GitHub Issue (#564)
FEATURES:
- d/agent_pool: Improve efficiency of reading agent pool data when the target organization has more than 20 agent pools (#508)
- Added warning logs for 404 error responses (#538)
- r/tfe_registry_module: Add ability to create both public and private
registry_moduleswithout VCS. (#546)
DEPRECATION NOTICE:
- The
registry_modulesimport format<ORGANIZATION>/<REGISTRY MODULE NAME>/<REGISTRY MODULE PROVIDER>/<REGISTRY MODULE ID>has been deprecated in favour of<ORGANIZATION>/<REGISTRY_NAME>/<NAMESPACE>/<REGISTRY MODULE NAME>/<REGISTRY MODULE PROVIDER>/<REGISTRY MODULE ID>to support public and privateregistry_modules.
FEATURES:
- New Resource:
tfe_workspace_variable_set(#537) adds the ability to assign a variable set to a workspace in a single, flexible resource. - r/tfe_workspace, d/tfe_workspace:
trigger-patterns(#502) attribute is introduced to support specifying a set of glob patterns for automatic VCS run triggering. - r/organization: Add
workspace_limitsetting, available only in Terraform Enterprise (#521)
DEPRECATION NOTICE: The workspace_ids argument on tfe_variable_set has been labelled as deprecated and should not be used in conjunction with tfe_workspace_variable_set.
BUG FIXES:
- Fixed a bug in the latest release where a team data source could be populated with the wrong team. (#530)
0.32.0 is an impactful release that includes several bug fixes, support for run tasks and several breaking changes that you should review carefully.
BREAKING CHANGES:
- Removed Authentication Method: Host-specific TF_TOKEN_... environment variable (added in 0.31.0) can no longer be used for token authentication. This method of authentication is incompatible with the Terraform Cloud remote execution model. Please use the TFE_TOKEN environment variable.
- r/tfe_workspace: Default value of the
file_triggers_enabledfield is changed tofalse. This will align thefile_triggers_enabledfield default value with the default value for the same field in the Terraform Cloud API. If the value of thefile_triggers_enabledfield was not explicitly set and either of the fieldsworking_directory(not an empty string) ortrigger_prefixeswas used - to keep the behavior unchanged, thefile_trigger_enabledfield should now explicitly be set totrue. (#510) - r/tfe_team_access: The
permissionsattribute requiresrun_tasksin the block. (#487)
BUG FIXES:
- Prevent overwriting
vcs_repoattributes inr/tfe_workspacewhen update API call fails (#498) - Fix panic crash on
trigger_prefixesupdate inr/tfe_workspacewhen given empty strings (#518)
FEATURES:
- r/team, d/team: Add manage_run_tasks to the tfe_team organization_access attributes (#486)
- New Resource:
tfe_organization_run_task(#488) - New Resource:
tfe_workspace_run_task(#488) - New Data Source: d/tfe_organization_run_task (#488)
- New Data Source: d/tfe_workspace_run_task (#488)
- r/tfe_notification_configuration: Add Microsoft Teams notification type (#484)
- d/workspace_ids: Add
exclude_tagstotfe_workspace_idsattributes (#523)
BUG FIXES:
- Sensitive values within certain Authorization headers are now redacted from TRACE and DEBUG logs (#479)
- r/tfe_variable_set: Clarified and fixed variable_set documentation and examples (#473) and (#472)
FEATURES:
- r/team, d/team: Add sso_team_id to the tfe_team attributes (#457)
- New Authentication Method: Host-specific TF_TOKEN_... variable can be used for token authentication. See provider documentation for details. (#477)
BUG FIXES:
- r/tfe_variable_set: Fixed import documentation and examples (#466)
- r/tfe_variable: Fixed import documentation and examples (#466)
BUG FIXES:
- d/tfe_variable_set: Renamed variable_sets data source to variable_set in documentation (#458)
- r/tfe_variable_set: Fixed examples in documentation for specifying workspace_ids (#461)
- r/tfe_variable_set: Fixed examples in documentation for variable_set_id (#462)
FEATURES:
- New Resource:
tfe_variable(#452) - New Resource:
tfe_variable_set(#452) - New Data Sources: d/tfe_variable_set, d/tfe_variables (#452)
BUG FIXES:
- r/ssh_key: Removed ability to update ssh value, which never worked (#432)
ENHANCEMENTS:
- r/team: Add
manage_providersandmanage_modulesattributes to resource schema (#431) - Update go-tfe dependency to version 1.0.0 (#450)
BUG FIXES:
- d/terraform_version: Backwards compatibility fix for importing Terraform versions from TFE installations that don't support filtering Terraform versions (#427)
FEATURES:
ENHANCEMENTS:
- r/workspace: Add support for importing workspaces using / pair (#401)
- r/team: Show entitlement error when creating teams (#418)
- Bump
go-tfedependency to0.24.0
BUG FIXES:
- d/workspace_ids: Fix plugin crash when providing empty strings to
namesargument (#421) - r/workspace: Fix
trigger_prefixesandremote_state_consumer_idswere appearing as workspace drift after being defaulted by the API to empty lists (#423)
BUG FIXES:
- d/workspace: Fixed an issue with remote state consumers were being populated with all workspaces when global_remote_state is true. When global_remote_state is true, it's safe to assume that all workspace state can be read (#414)
FEATURES:
- New Data Source: d/tfe_variables (#369)
ENHANCEMENTS:
- r/organization: Added
send_passing_statuses_for_untriggered_speculative_plans, which can be useful if large numbers of untriggered workspaces are exhausting request limits for connected version control service providers like GitHub. (#386) - r/oauth_client: Added
key,secret, andrsa_public_keyarguments, used for configuring BitBucket Server and Azure DevOps Server. (#395) - Improved discovery and loading of credentials from Terraform configuration files; the provider will attempt to use Terraform CLI's authentication with Terraform Cloud or Terraform Enterprise for its own authentication, when present. (#360)
BUG FIXES:
- r/workspace: Fixed an issue with remote state consumer relationships on workspaces where the provider would not follow pagination and only the first 20 results would be read correctly. (#367)
- r/tfe_variable: Fixed an issue where updating sensitive attributes would just surface the underlying correct error (they must be recreated) instead of allowing Terraform to intelligently replace the resource as part of its execution plan. (#394)
BUG FIXES:
- Fixed a regression introduced in 0.26.0 where explicitly specifying a hostname became erroneously required, when it should default to app.terraform.io (Terraform Cloud) (#354)
- d/workspace_ids: Fixed issue with
namesandtag_namesnot validating correctly (#358)
FEATURES:
- New Data Sources: d/tfe_organizations, d/tfe_organization #320.
- Add support for enabling structured run outputs in a
tfe_workspace#330. - New Data Source: Introduces
tfe_slugused to represent configuration files. on local file system #333. - Add functionality in
tfe_policy_setto allow uploading of local policies #333. - New Data Source: Introduces
tfe_outputsto retrieve state outputs for a Workspace. - r/workspace: Added
tag_namesargument to set tags for a Workspace. - d/workspace: Added
tag_namesto the data returned for a Workspace. - d/workspace_ids: Added
tag_namesas a search option to find Workspaces by tag name.
ENHANCEMENTS:
- Use Golang 1.17 #341.
BUG FIXES:
- d/ip_ranges: Fixes an issue in the upstream client where accessing this datasource would erroneously change the state of the client and cause subsequent requests in plans to fail with incorrect URLs. #316
BUG FIXES: d/tfe_workspace: Fix remote state consumer regression for Terraform Enterprise (#311)
NOTES:
- This release includes an additional fix for the regression introduced in v0.25.0
to address errors for anyone using the
tfe_workspacedata source with a Terraform Enterprise version earlier than v20210401-1.
BUG FIXES:
- r/workspace: Fix remote state consumer regression for Terraform Enterprise (#303)
- r/organization: Ignore diffs in name case sensitivity (#300)
NOTES:
- This release includes a fix for a major regression from a backwards incompatible change erroneously introduced in v0.25.0, where any Terraform Enterprise version < v20210401-1 would experience failures using the tfe_workspace resource.
BREAKING CHANGES:
- d/tfe_workspace: Removed deprecated
external_idattribute. Useidinstead (#295) - d/tfe_workspace_ids: Removed deprecated
external_idsattribute. Useidsinstead (#295) - r/tfe_workspace: Removed deprecated
external_idattribute. Useidinstead (#295)
ENHANCEMENTS:
- Use Go 1.16 to provide support for Apple Silicon (darwin/arm64) (#288)
- Add Manage Policy Overrides permission for teams (#285)
- r/tfe_workspace: Add remote state consumer functionality (#292)
- r/tfe_workspace: Added description parameter to TFE workspace (#271)
- d/tfe_workspace: Added new workspace fields from the API (#287)
- d/tfe_workspace: Added
branchattribute tovcs_repoblock (#290) - Improved error message for missing token (#273)
NOTES:
- You will need to migrate to the new attributes in your configuration to update to the latest
version of this provider. The tfe_workspace resource will continue to migrate old workspace
resources in state (schema version 0, using
external_id) to new ones (schema version 1, usingid) for the foreseeable future and will only be removed in a breaking major version (likely v1.0.0). More information about these deprecations can be found in the description of #295
BREAKING CHANGES:
- Support for Terraform version 0.11 and prior has ended. Terraform version 0.12+ is required. This is a result of updating the provider to use version 2.0 of the Terraform Plugin SDK (#246)
- d/tfe_workspace_ids: Changed
idsattribute to return immutable workspace IDs (ws-<RANDOM STRING>) (#253) - r/tfe_notification_configuration: Removed deprecated
workspace_external_idattribute, preferringworkspace_idinstead (#253) - r/tfe_policy_set: Removed deprecated
workspace_external_idsattribute, preferringworkspace_idsinstead (#253) - r/tfe_run_trigger: Removed deprecated
workspace_external_idattribute, preferringworkspace_idinstead (#253)
FEATURES:
ENHANCEMENTS:
- d/tfe_workspace: Added deprecation warning to the
external_idattribute, preferringidinstead (#253) - d/tfe_workspace_ids: Added deprecation warning to the
external_idsattribute, preferringidsinstead (#253) - r/tfe_workspace: Added deprecation warning to the
external_idattribute, preferringidinstead (#253)
NOTES:
- All deprecated attributes will be removed 3 months after the release of v0.24.0 (April 21, 2021). After this deprecation period, you will need to migrate to the preferred attributes to update to the latest version of this provider. More information about these deprecations can be found in the description of #253
- d/tfe_workspace: The deprecation warning for the
external_idattribute will not go away until the attribute is removed in a future version. This is due to a limitation of the Terraform SDK for deprecation warnings on attributes that aren't specified in a configuration. If you have already changed all references to this data source'sexternal_idattribute to theidsattribute, you can ignore the warning. - d/tfe_workspace_ids: The deprecation warning for the
external_idsattribute will not go away until the attribute is removed in a future version. This is due to a limitation of the Terraform SDK for deprecation warnings on attributes that aren't specified in a configuration. If you have already changed all references to this data source'sexternal_idsattribute to theidsattribute, you can ignore the warning.
FEATURES:
- New Resource: r/tfe_agent_pool (#242) Includes the ability to import existing agent pools via ID.
- New Data Source: d/tfe_agent_pool (#242)
ENHANCEMENTS:
- r/tfe_workspace: Added
execution_modeargument, succeeding the existingoperationsboolean (which is now deprecated) (#242) This new argument, along withagent_pool_id, allows for configuring workspaces to use Terraform Cloud Agents (https://www.terraform.io/docs/cloud/agents). - r/tfe_workspace: Added
allow_destroy_plan, which determines if destroy plans can be queued on the workspace (#245) - r/tfe_organization: Added
cost_estimation_enabled, which determines if the cost estimation feature is enabled for all workspaces in the organization. (#239) - Added provider configuration option
ssl_skip_verify, to allow users to skip certificate verifications if their environment is appropriate for it (note that in general, this is not recommended and the default value oftrueshould be used). (#95)
BUG FIXES:
- r/tfe_team_access: Fixed an erroneous error message seen when a workspace could not be retrieved from the API (#233)
NOTES:
- Go 1.14 is now being used for development, along with Go modules.
- Several documentation improvements have been made in this release.
FEATURES:
- New Data Source: d/tfe_oauth_client (#212)
ENHANCEMENTS:
- r/tfe_variable: Changes to the key of a sensitive variable will result in the deletion of the old variable and the creation of a new one (#175)
- r/tfe_workspace: Adds support for the speculative_enabled argument to tfe_workspace (#210)
BUG FIXES:
- r/tfe_registry_module: Prevent a possible race condition when creating modules in the registry. (#215)
- r/tfe_run_trigger: Retry when a "locked" error is returned (#178)
- r/tfe_workspace: Fixed a logic bug that prevented non-default branch names to be imported. (#220)
- r/tfe_workspace: Prevent the provider from crashing when encountering empty trigger prefixes. (#223)
- r/tfe_workspace_variable: Remove the variable from the state if the workspace containing it has been deleted via the UI. (#227)
ENHANCEMENTS:
- r/tfe_policy_set: Added a validation for the
nameattribute so that invalid policy set names are caught at plan time (#168)
NOTES:
- This validation matches the requirements specified by the Terraform Cloud API. Policy set names can only include letters, numbers, -, and _.
FEATURES:
ENHANCEMENTS:
- r/tfe_notification_configuration: Added support for email notification configuration by adding support for
destination_typeofemailand associated schema attributesemail_user_idsand (TFE only)email_addresses(#191) - r/tfe_organization_membership: Added ability to import organization memberships and added new computed attribute
user_id(#191)
NOTES:
- Using
destination_typeofemailwith resourcetfe_notification_configurationrequires using the provider with Terraform Cloud or an instance of Terraform Enterprise at least as recent as v202005-1.
FEATURES:
- r/tfe_team_access and d/tfe_team_access: Added support for custom workspace permissions (#184)
BUG FIXES:
- r/tfe_policy_set: Fixes issue when updating Policy Set branch attribute (#185)
ENHANCEMENTS:
- provider: Updated terraform-provider-sdk to 1.13.1 ([#177])
ENHANCEMENTS:
- d/tfe_workspace_ids: Added deprecation warning to the
idsattribute, preferringfull_namesinstead (#182) - r/tfe_notification_configuration: Added deprecation warning to the
workspace_external_idattribute, preferringworkspace_idinstead (#182) - r/tfe_policy_set: Added deprecation warning to the
workspace_external_idsattribute, preferringworkspace_idsinstead (#182) - r/tfe_run_trigger: Added deprecation warning to the
workspace_external_idattribute, preferringworkspace_idinstead (#182)
NOTES:
- All deprecated attributes will be removed 3 months after the release of v0.18.0. You will have until September 3, 2020 to migrate to the preferred attributes.
- More information about these deprecations can be found in the description of #182
- d/tfe_workspace_ids: The deprecation warning for the
idsattribute will not go away until the attribute is removed in a future version. This is due to a limitation of the 1.0 version of the Terraform SDK for deprecation warnings on attributes that aren't specified in a configuration. If you have already changed all references to this data source'sidsattribute to the newfull_namesattribute, you can ignore the warning.
BUG FIXES:
- r/tfe_team: Fixed a panic occurring with importing Owners teams on Free Terraform Cloud organizations which do not include visible organization access. (#181)
ENHANCEMENTS:
- r/tfe_team: Added support for organization-level permissions and visibility on teams. (#155)
BUG FIXES:
- r/tfe_workspace: Allow VCS repo to be removed from a workspace when it has been removed from the configuration. (#173)
BUG FIXES:
- r/tfe_workspace: Running a plan/apply when a workspace has been deleted outside of terraform no longer causes a panic. (#162)
FEATURES:
ENHANCEMENTS:
- r/tfe_workspace: Migrate ID from / to opaque external_id (#106)
- r/tfe_variable: Migrate workspace_id from / to opaque external_id (#106)
- r/tfe_team_access: Migrate workspace_id from / to opaque external_id (#106)
BUG FIXES:
- t/tfe_workspace: Issues with updating
working_directory([#137]) andtrigger_prefixes([#138]) when removed from the configuration. Special note: if you have workspaces which are configured through the TFE provider, but have set the working directory or trigger prefixes manually, through the UI, you'll need to update your configuration.
FEATURES:
- New Resource:
tfe_run_trigger([#132])
ENHANCEMENTS:
- provider: Update to the standalone SDK ([#130])
BUG FIXES:
- provider: Lock the provider v2.2 for Terraform Enterprise ([#127]) This will warn users that this version of the provider does not support Terraform Enterprise versions < 202001-1
BREAKING CHANGES:
- r/tfe_variable: Update the workspace variable resource to utilize the "nested" routes that are now preferred ([#123]) This change is incompatible with Terraform Enterprise versions < 202001-1.
ENHANCEMENTS:
- New Resource:
tfe_policy_set_parameter([#123]) - r/tfe_variable: Add support for descriptions for workspace variables ([#121])
BUG FIXES:
r/tfe_oauth_client: Issue with using private_key and validation check ([#113])
ENHANCEMENTS:
- r/tfe_oauth_client: Adding support for Azure DevOps Server and Azure DevOps Services ([#99])
ENHANCEMENTS:
- provider: Retry requests which result in server errors ([#109])
ENHANCEMENTS:
- r/tfe_workspace: Adding support to configure execution mode ([#92])
FEATURES:
- New Resource:
tfe_notification_configuration([#86])
BUG FIXES:
- r/tfe_workspace: Ensure that file-triggers-enabled and trigger-prefixes fields are updated when changed (#81)
ENHANCEMENTS:
- r/tfe_policy_set: Added support for VCS policy sets. (#80)
ENHANCEMENTS:
- r/tfe_workspace: Add monorepo filtering workspace config fields (#77)
- provider: Add support for TFE_HOSTNAME and TFE_TOKEN environment variables (#78, fixes #31)
IMPROVEMENTS:
- The provider is now compatible with Terraform v0.12, while retaining compatibility with prior versions.
BUG FIXES:
- d/tfe_workspace: Set the correct workspace ID (#74)
BUG FIXES:
- provider: Update the vendor directory so it's in sync with the versions defined in
go.mod(#73)
BUG FIXES:
- r/tfe_variable: Mark
valueas optional (defaults to"") to match TFE API behavior (#72)
BUG FIXES:
- r/tfe_workspace: Add a check when migrating
vcs_repofrom a set to a list (#64)
ENHANCEMENTS:
- provider: Enable request/response logging (#55)
- provider: Report detailed service discovery and version constraints information (#61)
- r/tfe_workspace: Try to find a workspace by external ID before removing it (#51)
- r/tfe_workspace: Use a list instead of a set for a workspace
vcs_repo(#53)
FEATURES:
- New resource:
tfe_oauth_client(#42) - New data source:
tfe_ssh_key(#43) - New data source:
tfe_team(#43) - New data source:
tfe_team_access(#43) - New data source:
tfe_workspace(#43) - New data source:
tfe_workspace_ids(#43)
ENHANCEMENTS:
- r/tfe_workspace: Support queuing all runs for new workspaces (#41)
ENHANCEMENTS:
- r/tfe_workspace: Support assigning an SSH key to a workspace (#38)
FEATURES:
- New resource:
tfe_policy_set(#33)
ENHANCEMENTS:
go-tfenow includes logic to throttle requests preventing rate limit errors (#34)
BUG FIXES:
- r/tfe_workspace: Fix a bug that prevented to set
auto-applyto false (#30)
NOTES:
- r/tfe_workspace: The format of the internal ID used to track workspaces
is changed to be more inline with other representations of the same ID. The ID
should be converted automatically during an
apply, but the conversion can also be triggered manually by runningterraform refreshwhen it causes issues.
FEATURES:
- Add
terraform importsupport to all (excepttfe_ssh_key) resources (#20)
ENHANCEMENTS:
- r/tfe_workspace: Export the Terraform Enterprise workspace ID (#21)
Initial release.