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.