FEATURES:
- r/team, d/team: Add manage_run_tasks to the tfe_team organization_access attributes (#486)
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_providers
andmanage_modules
attributes 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-tfe
dependency to0.24.0
BUG FIXES:
- d/workspace_ids: Fix plugin crash when providing empty strings to
names
argument (#421) - r/workspace: Fix
trigger_prefixes
andremote_state_consumer_ids
were 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_key
arguments, 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/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
names
andtag_names
not 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_slug
used to represent configuration files. on local file system #333. - Add functionality in
tfe_policy_set
to allow uploading of local policies #333. - New Data Source: Introduces
tfe_outputs
to retrieve state outputs for a Workspace. - r/workspace: Added
tag_names
argument to set tags for a Workspace. - d/workspace: Added
tag_names
to the data returned for a Workspace. - d/workspace_ids: Added
tag_names
as 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_workspace
data 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_id
attribute. Useid
instead (#295) - d/tfe_workspace_ids: Removed deprecated
external_ids
attribute. Useids
instead (#295) - r/tfe_workspace: Removed deprecated
external_id
attribute. Useid
instead (#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
branch
attribute tovcs_repo
block (#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
ids
attribute to return immutable workspace IDs (ws-<RANDOM STRING>
) (#253) - r/tfe_notification_configuration: Removed deprecated
workspace_external_id
attribute, preferringworkspace_id
instead (#253) - r/tfe_policy_set: Removed deprecated
workspace_external_ids
attribute, preferringworkspace_ids
instead (#253) - r/tfe_run_trigger: Removed deprecated
workspace_external_id
attribute, preferringworkspace_id
instead (#253)
FEATURES:
ENHANCEMENTS:
- d/tfe_workspace: Added deprecation warning to the
external_id
attribute, preferringid
instead (#253) - d/tfe_workspace_ids: Added deprecation warning to the
external_ids
attribute, preferringids
instead (#253) - r/tfe_workspace: Added deprecation warning to the
external_id
attribute, preferringid
instead (#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_id
attribute 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_id
attribute to theids
attribute, you can ignore the warning. - d/tfe_workspace_ids: The deprecation warning for the
external_ids
attribute 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_ids
attribute to theids
attribute, 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_mode
argument, succeeding the existingoperations
boolean (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 oftrue
should 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
name
attribute 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_type
ofemail
and associated schema attributesemail_user_ids
and (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_type
ofemail
with resourcetfe_notification_configuration
requires 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
ids
attribute, preferringfull_names
instead (#182) - r/tfe_notification_configuration: Added deprecation warning to the
workspace_external_id
attribute, preferringworkspace_id
instead (#182) - r/tfe_policy_set: Added deprecation warning to the
workspace_external_ids
attribute, preferringworkspace_ids
instead (#182) - r/tfe_run_trigger: Added deprecation warning to the
workspace_external_id
attribute, preferringworkspace_id
instead (#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
ids
attribute 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'sids
attribute to the newfull_names
attribute, you can ignore the warning.
BUG FIXES:
- r/tfe_team: Fixed a panic occurring with importing Owners teams on Free TFC 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
value
as optional (defaults to""
) to match TFE API behavior (#72)
BUG FIXES:
- r/tfe_workspace: Add a check when migrating
vcs_repo
from 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-tfe
now includes logic to throttle requests preventing rate limit errors (#34)
BUG FIXES:
- r/tfe_workspace: Fix a bug that prevented to set
auto-apply
to 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 refresh
when it causes issues.
FEATURES:
- Add
terraform import
support to all (excepttfe_ssh_key
) resources (#20)
ENHANCEMENTS:
- r/tfe_workspace: Export the Terraform Enterprise workspace ID (#21)
Initial release.