Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

Update dependency hashicorp/terraform to v1.1.9 #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 7, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Update Change
hashicorp/terraform minor 1.0.1 -> 1.1.9

Release Notes

hashicorp/terraform

v1.1.9

Compare Source

1.1.9 (April 20, 2022)

BUG FIXES:

  • cli: Fix crash when using sensitive values in sets. (#​30825)
  • cli: Fix double-quoted map keys when rendering a diff. (#​30855)
  • core: Prevent errors when handling a data source with incompatible schema changes (#​30830)

ENHANCEMENTS:

  • cli: Terraform now supports run tasks, a Terraform Cloud integration for executing remote operations, for the post plan stage of a run.

v1.1.8

Compare Source

1.1.8 (April 07, 2022)

BUG FIXES:

  • cli: Fix missing identifying attributes (e.g. "id", "name") when displaying plan diffs with nested objects. (#​30685)
  • functions: Fix error when sum() function is called with a collection of string-encoded numbers, such as sum(["1", "2", "3"]). (#​30684)
  • When rendering a diff, Terraform now quotes the name of any object attribute whose string representation is not a valid identifier. (#​30766)
  • Terraform will no longer crash in the terraform apply phase if an error occurs during backend configuration. (#​30780)

v1.1.7

Compare Source

1.1.7 (March 02, 2022)

BUG FIXES:

  • terraform show -json: Improve performance for deeply-nested object values. The previous implementation was accidentally quadratic, which could result in very long execution time for generating JSON plans, and timeouts on Terraform Cloud and Terraform Enterprise. (#​30561)
  • cloud: Update go-slug for terraform.tfstate exclusion to prevent a user from getting an error
    after migrating state to TFC.

v1.1.6

Compare Source

1.1.6 (February 16, 2022)

BUG FIXES:

  • cli: Prevent complex uses of the console-only type function. This function may only be used at the top level of console expressions, to display the type of a given value. Attempting to use this function in complex expressions will now display a diagnostic error instead of crashing. (#​30476)
  • terraform state mv: Will now correctly exit with error code 1 when the specified resources cannot be found in state. Previously Terraform would display appropriate diagnostic errors, but exit successfully. (#​29365)

v1.1.5

Compare Source

1.1.5 (February 02, 2022)

ENHANCEMENTS:

  • backend/s3: Update AWS SDK to allow the use of the ap-southeast-3 region (#​30363)

BUG FIXES:

  • cli: Fix crash when using autocomplete with long commands, such as terraform workspace select (#​30193)

v1.1.4

Compare Source

1.1.4 (January 19, 2022)

BUG FIXES:

  • config: Non-nullable variables with null inputs were not given default values when checking validation statements (#​30330)
  • config: Terraform will no longer incorrectly report "Cross-package move statement" when an external package has changed a resource from no count to using count, or vice-versa. (#​30333)

v1.1.3

Compare Source

1.1.3 (January 06, 2022)

BUG FIXES:

  • terraform init: Will now remove from the dependency lock file entries for providers not used in the current configuration. Previously it would leave formerly-used providers behind in the lock file, leading to "missing or corrupted provider plugins" errors when other commands verified the consistency of the installed plugins against the locked plugins. (#​30192)
  • config: Fix panic when encountering an invalid provider block within a module (#​30095)
  • config: Fix cycle error when the index of a module containing move statements is changed (#​30232)
  • config: Fix inconsistent ordering with nested move operations (#​30253)
  • config: Fix moved block refactoring to include nested modules (#​30233)
  • functions: Redact sensitive values from function call error messages (#​30067)
  • terraform show: Disable plan state lineage checks, ensuring that we can show plan files which were generated against non-default state files (#​30205)

v1.1.2

Compare Source

1.1.2 (December 17, 2021)

If you are using Terraform CLI v1.1.0 or v1.1.1, please upgrade to this new version as soon as possible.

Terraform CLI v1.1.0 and v1.1.1 both have a bug where a failure to construct the apply-time graph can cause Terraform to incorrectly report success and save an empty state, effectively "forgetting" all existing infrastructure. Although configurations that already worked on previous releases should not encounter this problem, it's possible that incorrect future configuration changes would trigger this behavior during the apply step.

BUG FIXES:

  • config: Fix panic when using -target in combination with moved blocks within modules (#​30189)
  • core: Fix condition which could lead to an empty state being written when there is a failure building the apply graph (#​30199)

v1.1.1

Compare Source

1.1.1 (December 15, 2021)

If you are using Terraform CLI v1.1.0 or v1.1.1, please upgrade to the latest version as soon as possible.

Terraform CLI v1.1.0 and v1.1.1 both have a bug where a failure to construct the apply-time graph can cause Terraform to incorrectly report success and save an empty state, effectively "forgetting" all existing infrastructure. Although configurations that already worked on previous releases should not encounter this problem, it's possible that incorrect future configuration changes would trigger this behavior during the apply step.


BUG FIXES:

  • core: Fix crash with orphaned module instance due to changed count or for_each value (#​30151)
  • core: Fix regression where some expressions failed during validation when referencing resources expanded with count or for_each (#​30171)

v1.1.0

Compare Source

1.1.0 (December 08, 2021)

If you are using Terraform CLI v1.1.0 or v1.1.1, please upgrade to the latest version as soon as possible.

Terraform CLI v1.1.0 and v1.1.1 both have a bug where a failure to construct the apply-time graph can cause Terraform to incorrectly report success and save an empty state, effectively "forgetting" all existing infrastructure. Although configurations that already worked on previous releases should not encounter this problem, it's possible that incorrect future configuration changes would trigger this behavior during the apply step.


Terraform v1.1.0 is a new minor release, containing some new features and some bug fixes whose scope was too large for inclusion in a patch release.

NEW FEATURES:

  • moved blocks for refactoring within modules: Module authors can now record in module source code whenever they've changed the address of a resource or resource instance, and then during planning Terraform will automatically migrate existing objects in the state to new addresses.

    This therefore avoids the need for users of a shared module to manually run terraform state mv after upgrading to a version of the module, as long as the change is expressible as static configuration. However, terraform state mv will remain available for use in more complex migration situations that are not well-suited to declarative configuration.

  • A new cloud block in the terraform settings block introduces a native Terraform Cloud integration for the CLI-driven run workflow.

    The Cloud integration includes several enhancements, including per-run variable support using the -var flag, the ability to map Terraform Cloud workspaces to the current configuration via Workspace Tags, and an improved user experience for Terraform Cloud and Enterprise users with actionable error messages and prompts.

  • terraform plan and terraform apply both now include additional annotations for resource instances planned for deletion to explain why Terraform has proposed that action.

    For example, if you change the count argument for a resource to a lower number then Terraform will now mention that as part of proposing to destroy any existing objects that exceed the new count.

UPGRADE NOTES:

This release is covered by the Terraform v1.0 Compatibility Promises, but does include some changes permitted within those promises as described below.

  • Terraform on macOS now requires macOS 10.13 High Sierra or later; Older macOS versions are no longer supported.

  • The terraform graph command no longer supports -type=validate and -type=eval options. The validate graph is always the same as the plan graph anyway, and the "eval" graph was just an implementation detail of the terraform console command. The default behavior of creating a plan graph should be a reasonable replacement for both of the removed graph modes. (Please note that terraform graph is not covered by the Terraform v1.0 compatibility promises, because its behavior inherently exposes Terraform Core implementation details, so we recommend it only for interactive debugging tasks and not for use in automation.)

  • terraform apply with a previously-saved plan file will now verify that the provider plugin packages used to create the plan fully match the ones used during apply, using the same checksum scheme that Terraform normally uses for the dependency lock file. Previously Terraform was checking consistency of plugins from a plan file using a legacy mechanism which covered only the main plugin executable, not any other files that might be distributed alongside in the plugin package.

    This additional check should not affect typical plugins that conform to the expectation that a plugin package's contents are immutable once released, but may affect a hypothetical in-house plugin that intentionally modifies extra files in its package directory somehow between plan and apply. If you have such a plugin, you'll need to change its approach to store those files in some other location separate from the package directory. This is a minor compatibility break motivated by increasing the assurance that plugins have not been inadvertently or maliciously modified between plan and apply.

  • terraform state mv will now error when legacy -backup or -backup-out options are used without the -state option on non-local backends. These options operate on a local state file only. Previously, these options were accepted but ignored silently when used with non-local backends.

  • In the AzureRM backend, the new opt-in option use_microsoft_graph switches to using MSAL authentication tokens and Microsoft Graph rather than using ADAL tokens and Azure Active Directory Graph, which is now deprecated by Microsoft. The new mode will become the default in Terraform v1.2, so please plan to migrate to using this setting and test with your own Azure AD tenant prior to the Terraform v1.2 release.

ENHANCEMENTS:

  • config: Terraform now checks the syntax of and normalizes module source addresses (the source argument in module blocks) during configuration decoding rather than only at module installation time. This is largely just an internal refactoring, but a visible benefit of this change is that the terraform init messages about module downloading will now show the canonical module package address Terraform is downloading from, after interpreting the special shorthands for common cases like GitHub URLs. (#​28854)
  • config: Variables can now be declared as "nullable", which defines whether a variable can be null within a module. Setting nullable = false ensures that a variable value will never be null, and may instead take on the variable's default value if the caller sets it explicitly to null. (#​29832)
  • terraform plan and terraform apply: When Terraform plans to destroy a resource instance due to it no longer being declared in the configuration, the proposed plan output will now include a note hinting at what situation prompted that proposal, so you can more easily see what configuration change might avoid the object being destroyed. (#​29637)
  • terraform plan and terraform apply: Terraform will now report explicitly in the UI if it automatically moves a resource instance to a new address as a result of adding or removing the count argument from an existing resource. For example, if you previously had resource "aws_subnet" "example" without count, you might have aws_subnet.example already bound to a remote object in your state. If you add count = 1 to that resource then Terraform would previously silently rebind the object to aws_subnet.example[0] as part of planning, whereas now Terraform will mention that it did so explicitly in the plan description. (#​29605)
  • terraform workspace delete: will now allow deleting a workspace whose state contains only data resource instances and output values, without running terraform destroy first. Previously the presence of data resources would require using -force to override the safety check guarding against accidentally forgetting about remote objects, but a data resource is not responsible for the management of its associated remote object(s) and so there's no reason to require explicit deletion. (#​29754)
  • terraform validate: Terraform now uses precise type information for resources during config validation, allowing more problems to be caught that that step rather than only during the planning step. (#​29862)
  • provisioner/remote-exec and provisioner/file: When using SSH agent authentication mode on Windows, Terraform can now detect and use the Windows 10 built-in OpenSSH Client's SSH Agent, when available, in addition to the existing support for the third-party solution Pageant that was already supported. (#​29747)
  • cli: terraform state mv will now return an error for -backup or -backup-out options used without the -state option, unless the working directory is initialized to use the local backend. Previously Terraform would silently ignore those options, since they are applicable only to the local backend. (#​27908)
  • terraform console: now has a new type() function, available only in the interactive console, for inspecting the exact type of a particular value as an aid to debugging. (#​28501)

BUG FIXES:

  • config: ignore_changes = all now works in override files. (#​29849)
  • config: Upgrading an unknown single value to a list using a splat expression now correctly returns an unknown value and type. Previously it would sometimes "overpromise" a particular return type, leading to an inconsistency error during the apply step. (#​30062)
  • config: Terraform is now more precise in its detection of data resources that must be deferred to the apply step due to their depends_on arguments referring to not-yet-converged managed resources. (#​29682)
  • config: ignore_changes can no longer cause a null map to be converted to an empty map, which would otherwise potentially cause surprising side-effects in provider logic. (#​29928)
  • core: Provider configuration obtained from interactive prompts will now be merged properly with settings given in the configuration. Previously this merging was incorrect in some cases. (#​29000)
  • terraform plan: Improved rendering of changes inside attributes that accept lists, sets, or maps of nested object types. (#​29827, #​29983, #​29986)
  • terraform apply: Will no longer try to apply a stale plan that was generated against an originally-empty state. Previously this was an unintended exception to the rule that a plan can only be applied to the state snapshot it was generated against. (#​29755)
  • terraform show -json: Attributes that are declared as using the legacy Attributes as Blocks behavior are now represented more faithfully in the JSON plan output. (#​29522)
  • terraform init: Will now update the backend configuration hash value at a more approprimate time, to ensure properly restarting a backend migration process that failed on the first attempt. (#​29860)
  • backend/oss: Flatten assume_role block arguments, so that they are more compatible with the terraform_remote_state data source. (#​29307)

v1.0.11

Compare Source

1.0.11 (November 10, 2021)

ENHANCEMENTS:

  • backend/oss: Added support for sts_endpoint (#​29841)

BUG FIXES:

  • config: Fixed a bug in which ignore_changes = all would not work in override files (#​29849)
  • config: Numbers are now compared for equality based on their protocol representation, eliminating unexpected changes due to small precision errors (#​29864)

v1.0.10

Compare Source

1.0.10 (October 28, 2021)

BUG FIXES:

  • backend/oss: Fix panic when there's an error looking up OSS endpoints (#​29784)
  • backend/remote: Fix version check when migrating state (#​29793)
  • cli: Restore -lock and -lock-timeout flags for the init command, which were removed in 0.15.0 (#​29773)
  • cli: Fix bug where terraform init -input=false would hang waiting for user input to choose a workspace (#​29805)

v1.0.9

Compare Source

1.0.9 (October 13, 2021)

BUG FIXES:

  • core: Fix panic when planning new resources with nested object attributes (#​29701)
  • core: Do not refresh deposed instances when the provider is not configured during destroy (#​29720)
  • core: Prevent panic when encountering a missing change when destroying a resource (#​29734)

v1.0.8

Compare Source

1.0.8 (September 29, 2021)

BUG FIXES:

  • cli: Check required_version as early as possibly during init so that version incompatibility can be reported before errors about new syntax (#​29665)
  • core: Don't plan to remove orphaned resource instances in refresh-only plans (#​29640)

v1.0.7

Compare Source

1.0.7 (September 15, 2021)

BUG FIXES:

  • core: Remove check for computed attributes which is no longer valid with optional structural attributes (#​29563)
  • core: Prevent object types with optional attributes from being instantiated as concrete values, which can lead to failures in type comparison (#​29559)
  • core: Empty containers in the configuration were not planned correctly when used with optional structural attributes (#​29580)

v1.0.6

Compare Source

1.0.6 (September 03, 2021)

ENHANCEMENTS:

  • backend/s3: Improve SSO handling and add new endpoints in the AWS SDK (#​29017)

BUG FIXES:

  • cli: Suppress confirmation prompt when initializing with the -force-copy flag and migrating state between multiple workspaces. (#​29438)
  • cli: Update tencentcount dependency versions to fix errors when building from source (#​29445)
  • core: Fix panic while handling computed attributes within nested objects, and improve plan validation for unknown values (#​29482)

v1.0.5

Compare Source

1.0.5 (August 18, 2021)

BUG FIXES:

  • json-output: Add an output change summary message as part of the terraform plan -json structured logs, bringing this format into parity with the human-readable UI. (#​29312)
  • core: Handle null nested single attribute values (#​29411)
  • cli: Fix crash when planning a diff between null and empty sets in nested attributes (#​29398)
  • cli: Fix crash when planning a new resource containing a set of nested object attributes (#​29398)
  • cli: Fix crash when displaying a resource diff where a possibly identifying attribute is sensitive (#​29397)
  • cli: Fix crash when a diff with unknown nested map attributes (#​29410)
  • config: Fix handling of dynamically types arguments in formatlist, ensuring the correct resulting type. (#​29408)
  • config: Floating point operations like floor and ceil can no longer mutate their arguments. (#​29408)

v1.0.4

Compare Source

1.0.4 (August 04, 2021)

BUG FIXES:

  • backend/consul: Fix a bug where the state value may be too large for consul to accept (#​28838)
  • cli: Fixed a crashing bug with some edge-cases when reporting syntax errors that happen to be reported at the position of a newline. (#​29048)

v1.0.3

Compare Source

1.0.3 (July 21, 2021)

ENHANCEMENTS

  • terraform plan: The JSON logs (-json option) will now include resource_drift, showing changes detected outside of Terraform during the refresh step. (#​29072)
  • core: The automatic provider installer will now accept providers that are recorded in their registry as using provider protocol version 6. (#​29153)
  • backend/etcdv3: New argument max_request_bytes allows larger requests and for the client, to match the server request limit. (#​28078)

BUG FIXES:

  • terraform plan: Will no longer panic when trying to render null maps. (#​29207)
  • backend/pg: Prevent the creation of multiple workspaces with the same name. (#​29157)
  • backend/oss: STS auth is now supported. (#​29167)
  • config: Dynamic blocks with unknown for_each values were not being validated. Ensure block attributes are valid even when the block is unknown (#​29208)
  • config: Unknown values in string templates could lose sensitivity, causing the planned change to be inaccurate (#​29208)

v1.0.2

Compare Source

1.0.2 (July 07, 2021)

BUG FIXES:

  • terraform show: Fix crash when rendering JSON plan with sensitive values in state (#​29049)
  • config: The floor and ceil functions no longer lower the precision of arguments to what would fit inside a 64-bit float, instead preserving precision in a similar way as most other arithmetic functions. (#​29110)
  • config: The flatten function was incorrectly treating null values of an unknown type as if they were unknown values. Now it will treat them the same as any other non-list/non-tuple value, flattening them down into the result as-is. (#​29110)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/hashicorp-terraform-1.x branch from 8921a6a to 7eb0e6f Compare July 21, 2021 19:47
@renovate renovate bot changed the title Update dependency hashicorp/terraform to v1.0.2 Update dependency hashicorp/terraform to v1.0.3 Jul 21, 2021
@renovate renovate bot force-pushed the renovate/hashicorp-terraform-1.x branch from 7eb0e6f to 5c604d7 Compare August 4, 2021 21:34
@renovate renovate bot changed the title Update dependency hashicorp/terraform to v1.0.3 Update dependency hashicorp/terraform to v1.0.4 Aug 4, 2021
@renovate renovate bot force-pushed the renovate/hashicorp-terraform-1.x branch from 5c604d7 to 49cf6ff Compare August 18, 2021 20:01
@renovate renovate bot changed the title Update dependency hashicorp/terraform to v1.0.4 Update dependency hashicorp/terraform to v1.0.5 Aug 18, 2021
@renovate renovate bot force-pushed the renovate/hashicorp-terraform-1.x branch from 49cf6ff to 70e8fe1 Compare October 19, 2021 02:28
@renovate renovate bot changed the title Update dependency hashicorp/terraform to v1.0.5 Update dependency hashicorp/terraform to v1.0.9 Oct 19, 2021
@renovate renovate bot force-pushed the renovate/hashicorp-terraform-1.x branch from 70e8fe1 to 7ebe3c5 Compare March 7, 2022 17:21
@renovate renovate bot changed the title Update dependency hashicorp/terraform to v1.0.9 Update dependency hashicorp/terraform to v1.1.7 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/hashicorp-terraform-1.x branch from 7ebe3c5 to adcd88a Compare April 25, 2022 00:36
@renovate renovate bot changed the title Update dependency hashicorp/terraform to v1.1.7 Update dependency hashicorp/terraform to v1.1.9 Apr 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant