Skip to content

Update module github.com/hashicorp/terraform to v0.15.5 #1208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 11, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hashicorp/terraform v0.15.3 -> v0.15.5 age adoption passing confidence

Release Notes

hashicorp/terraform (github.com/hashicorp/terraform)

v0.15.5

Compare Source

0.15.5 (June 02, 2021)

BUG FIXES:

  • terraform plan and terraform apply: Don't show "Objects have changed" notification when the detected changes are only internal details related to legacy SDK quirks. (#​28796)
  • core: Prevent crash during planning when encountering a deposed instance that has been removed from the configuration. (#​28766)
  • core: Fix crash when rendering changes to deposed instances outside of Terraform. (#​28796)
  • core: Restore a missing error when attempting to import a non-existent remote object. (#​28808)
  • core: Fix bug where Terraform failed to release the state lock when applying a stale saved plan failed. (#​28819)

v0.15.4

Compare Source

0.15.4 (May 19, 2021)

NEW FEATURES:

  • Noting changes made outside of Terraform: Terraform has always, by default, made a point during the planning operation of reading the current state of remote objects in order to detect any changes made outside of Terraform, to make sure the plan will take those into account.

    Terraform will now report those detected changes as part of the plan result, in order to give additional context about the planned changes. We've often heard that people find it confusing when a plan includes a change that doesn't seem to be prompted by any recent change in the configuration, and so this feature is aiming to provide the previously-missing explanation for situations where Terraform is planning to undo a change.

    It can also be useful just as general information when the change won't be undone by Terraform: if you've intentionally made a change outside of Terraform and mirrored that change in your configuration then Terraform will now confirm that it noticed the change you made and took it into account when planning.

    By default this new output is for information only and doesn't change any behavior. If Terraform detects a change you were expecting then you don't need to take any additional action to respond to it. However, we've also added a new planning mode -refresh-only which allows you to explicitly plan and apply the action of writing those detected changes to the Terraform state, which serves as a plannable replacement for terraform refresh. We don't have any plans to remove the long-standing terraform refresh command, but we do recommend using terraform apply -refresh-only instead in most cases, because it will provide an opportunity to review what Terraform detected before updating the Terraform state.

UPGRADE NOTES:

  • This release adds some new reserved reference prefixes to make them available for later work. These are resource., template., arg., and lazy.. We don't expect these additions to cause problems for most existing configurations, but could cause a conflict if you are using a custom provider which has a resource type named exactly "resource", "template", "arg", or "lazy". In that unlikely event, you can escape references to resources of those types by adding a resource. prefix; for example, if you have a resource "template" "foo" then you can change references to it from template.foo to resource.template.foo in order to escape the new meaning.

ENHANCEMENTS:

  • config: The various functions that compute hashs of files on disk, like filesha256, will now stream the contents of the given file into the hash function in smaller chunks. Previously they would always read the entire file into memory before hashing it, due to following a similar implementation strategy as the file function. (#​28681)
  • config: Some new escaping syntax which is not yet useful but will be part of the backward-compatibility story for certain future language editions. (#​28709)
  • core: Rsource diagnostics are no longer lost on remote state storage fails (#​28724)
  • core: Diagnostics from provisioner failures are now shown in CLI output (#​28753)
  • terraform init: add a new -migrate-state flag instead of automatic state migration, to prevent failing when old backend config is not usable (#​28718)
  • terraform plan and terraform apply: will now report any changes Terraform detects during the "refresh" phase for each managed object, providing confirmation that Terraform has seen those changes and, where appropriate, extra context to help understand the planned change actions that follow. (#​28634)
  • terraform plan and terraform apply: now have a new option -refresh-only to activate the "refresh only" planning mode, which causes Terraform to ignore any changes suggested by the configuration but still detect any changes made outside of Terraform since the latest terraform apply. (#​28634)
  • backend/gcs: Terraform Core now supports Workload Identity Federation. The federated JSON credentials must be loaded through the GOOGLE_APPLICATION_CREDENTIALS environment variable. This is also available in the Google Provider in versions newer than v3.61. (#​28296)
  • backend/remote: supports several new CLI options when running plans and applies with Terraform Cloud: -refresh=false, -replace, and -refresh-only. (#​28746)

BUG FIXES:

  • core: Fix sensitivity handling with plan values, which could cause the sensitive marks to be lost during apply leading to a perpetual diff (#​28687)
  • core: Fix crash when specifying SSH bastion_port in a resource connection block (#​28665)
  • core: Terraform will now upgrade and refresh (unless disabled) deposed objects during planning, in a similar manner as for objects that have been removed from the configuration. "Deposed" is how Terraform represents the situation where a create_before_destroy replacement failed to destroy the old object, in which case Terraform needs to track both the new and old objects until the old object is successfully deleted. Refreshing these during planning means that you can, if you wish, delete a "deposed" object manually outside of Terraform and then have Terraform detect that you've done so. (#​28634)
  • config: Improve the sensitivity support for lookup and length functions, which were accidentally omitted from the larger update in 0.15.1 (#​28509)
  • backend/gcs: Fixed a bug where service account impersonation didn't work if the original identity was another service account (#​28139)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

forking-renovate bot commented Mar 11, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/hashicorp/go-getter/v2 v2.1.0
go: downloading github.com/hashicorp/go-getter v1.5.2
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/hcl/v2 v2.11.1
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/zclconf/go-cty v1.10.0
go: downloading github.com/google/go-cmp v0.5.7
go: downloading github.com/xeipuuv/gojsonschema v1.2.0
go: downloading cloud.google.com/go/storage v1.22.0
go: downloading cloud.google.com/go v0.100.2
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/hashicorp/terraform v0.15.5
go: downloading github.com/otiai10/copy v1.7.0
go: downloading google.golang.org/api v0.74.0
go: downloading github.com/google/go-cpy v0.0.0-20211218193943-a9c933c06932
go: downloading github.com/imdario/mergo v0.3.12
go: downloading github.com/rodaine/hclencoder v0.0.1
go: downloading github.com/ryanuber/columnize v2.1.2+incompatible
go: downloading github.com/hashicorp/go-version v1.5.0
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/mitchellh/go-testing-interface v1.14.1
go: downloading github.com/ulikunitz/xz v0.5.10
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading cloud.google.com/go/compute v1.5.0
go: downloading cloud.google.com/go/iam v0.3.0
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/googleapis/gax-go/v2 v2.2.0
go: downloading github.com/googleapis/go-type-adapters v1.0.0
go: downloading golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf
go: downloading google.golang.org/grpc v1.45.0
go: downloading google.golang.org/protobuf v1.28.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
go: downloading github.com/apparentlymart/go-textseg v1.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb
go: downloading go.opencensus.io v0.23.0
go: downloading google.golang.org/appengine v1.6.7
go: downloading golang.org/x/net v0.0.0-20220325170049-de3da57026de
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886
go: downloading github.com/hashicorp/terraform v1.11.3
go: github.com/GoogleCloudPlatform/healthcare-data-protection-suite/internal/policygen imports
	github.com/hashicorp/terraform/states: cannot find module providing package github.com/hashicorp/terraform/states
go: github.com/GoogleCloudPlatform/healthcare-data-protection-suite/internal/terraform imports
	github.com/hashicorp/terraform/states/statefile: cannot find module providing package github.com/hashicorp/terraform/states/statefile

@renovate-bot renovate-bot force-pushed the renovate/terraform-monorepo branch from b1e5124 to 0bc4a30 Compare April 8, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant