-
Notifications
You must be signed in to change notification settings - Fork 72
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
Update Terraform hashicorp/terraform to ~> 1.4 #1654
Conversation
5790663
to
b282d8e
Compare
4acda1e
to
a24fd1e
Compare
72164e1
to
2a5055e
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
invoke_targets = [ | ||
module.signOevReq[0].function_name | ||
] | ||
invoke_targets = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mhh, was this severe? How come we did not notice this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it broke the deployment for GCP. It was caused by an incorrect merge. The OEV gateway was written in the old format but the format was updated before it was merged. And since it was a new part of the file it didn't create conflicts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM, but haven't tested.
2761eaf
to
611d7c5
Compare
This PR contains the following updates:
~> 1.3
->~> 1.4
Release Notes
hashicorp/terraform
v1.4.0
Compare Source
1.4.0 (March 08, 2023)
UPGRADE NOTES:
config: The
textencodebase64
function when called with encoding "GB18030" will now encode the euro symbol € as the two-byte sequence0xA2,0xE3
, as required by the GB18030 standard, before applying base64 encoding.config: The
textencodebase64
function when called with encoding "GBK" or "CP936" will now encode the euro symbol € as the single byte0x80
before applying base64 encoding. This matches the behavior of the Windows API when encoding to this Windows-specific character encoding.terraform init
: When interpreting the hostname portion of a provider source address or the address of a module in a module registry, Terraform will now use non-transitional IDNA2008 mapping rules instead of the transitional mapping rules previously used.This matches a change to the WHATWG URL spec's rules for interpreting non-ASCII domain names which is being gradually adopted by web browsers. Terraform aims to follow the interpretation of hostnames used by web browsers for consistency. For some hostnames containing non-ASCII characters this may cause Terraform to now request a different "punycode" hostname when resolving.
terraform init
will now ignore entries in the optional global provider cache directory unless they match a checksum already tracked in the current configuration's dependency lock file. This therefore avoids the long-standing problem that when installing a new provider for the first time from the cache we can't determine the full set of checksums to include in the lock file. Once the lock file has been updated to include a checksum covering the item in the global cache, Terraform will then use the cache entry for subsequent installation of the same provider package. There is an interim CLI configuration opt-out for those who rely on the previous incorrect behavior. (#32129)The Terraform plan renderer has been completely rewritten to aid with future Terraform Cloud integration. Users should not see any material change in the plan output between 1.3 and 1.4. If you notice any significant differences, or if Terraform fails to plan successfully due to rendering problems, please open a bug report issue.
BUG FIXES:
yamldecode
function now correctly handles entirely-nil YAML documents. Previously it would incorrectly return an unknown value instead of a null value. It will now return a null value as documented. (#32151)terraform workspace
now returns a non-zero exit when given an invalid argument (#31318)-json
mode, messages will now be written in JSON format (#32451)ENHANCEMENTS:
terraform plan
can now store a plan file even when encountering errors, which can later be inspected to help identify the source of the failures (#32395)terraform_data
is a new builtin managed resource type, which can replace the use ofnull_resource
, and can store data of any type (#31757)terraform init
will now ignore entries in the optional global provider cache directory unless they match a checksum already tracked in the current configuration's dependency lock file. This therefore avoids the long-standing problem that when installing a new provider for the first time from the cache we can't determine the full set of checksums to include in the lock file. Once the lock file has been updated to include a checksum covering the item in the global cache, Terraform will then use the cache entry for subsequent installation of the same provider package. There is an interim CLI configuration opt-out for those who rely on the previous incorrect behavior. (#32129)-or-create
flag was added toterraform workspace select
, to aid in creating workspaces in automated situations (#31633)terraform metadata functions -json
(#32487)kms_encryption_key
argument, to allow encryption of state files using Cloud KMS keys. (#24967)storage_custom_endpoint
argument, to allow communication with the backend via a Private Service Connect endpoint. (#28856)gcs
withterraform_remote_state
(#32065)cloud
backendterraform workspace delete
will use Terraform Cloud's Safe Delete API if the-force
flag is not provided. (#31949)quiet
argument. Ifquiet
is set totrue
, Terraform will not print the entire command to stdout during plan. (#32116)terraform show
will now print an explanation when called on a Terraform workspace with empty state detailing why no resources are shown. (#32629)GOOGLE_BACKEND_IMPERSONATE_SERVICE_ACCOUNT
env var to allow impersonating a different service account whenGOOGLE_IMPERSONATE_SERVICE_ACCOUNT
is configured for the GCP provider. (#32557)assume_role
authentication method with thetencentcloud
provider. This can be configured via the Terraform config or environment variables.security_token
authentication method with thetencentcloud
provider. This can be configured via the Terraform config or environment variables.EXPERIMENTS:
Since its introduction the
yamlencode
function's documentation carried a warning that it was experimental. This predated our more formalized idea of language experiments and so wasn't guarded by an explicit opt-in, but the intention was to allow for small adjustments to its behavior if we learned it was producing invalid YAML in some cases, due to the relative complexity of the YAML specification.From Terraform v1.4 onwards,
yamlencode
is no longer documented as experimental and is now subject to the Terraform v1.x Compatibility Promises. There are no changes to its previous behavior in v1.3 and so no special action is required when upgrading.v1.3.9
Compare Source
1.3.9 (February 15, 2023)
BUG FIXES:
v1.3.8
Compare Source
1.3.8 (February 09, 2023)
BUG FIXES:
before_sensitive
/after_sensitive
annotations in JSON plan output for deeply nested structures. This was only observed in the wild on the rancher/rancher2 provider, and resulted in glitched display in Terraform Cloud's structured plan log view. (#32543)v1.3.7
Compare Source
1.3.7 (January 04, 2023)
BUG FIXES:
ignore_changes
(#32428)v1.3.6
Compare Source
1.3.6 (November 30, 2022)
BUG FIXES:
v1.3.5
Compare Source
1.3.5 (November 17, 2022)
BUG FIXES:
(sensitive value)
instead of sometimes as(sensitive)
[GH32004]v1.3.4
Compare Source
1.3.4 (November 02, 2022)
BUG FIXES:
console
when outputs contain preconditions (#32051)oidc_token
andoidc_token_file_path
properties (#31966)regex
,regexall
, andreplace
functions, to avoid unbounded memory usage for maliciously-crafted patterns. This change should not affect any reasonable patterns intended for practical use. (#32135)v1.3.3
Compare Source
1.3.3 (October 19, 2022)
BUG FIXES:
v1.3.2
Compare Source
1.3.2 (October 06, 2022)
BUG FIXES:
ignore_changes = all
could cause persistent diffs with legacy providers (#31914)import
(#31878)v1.3.1
Compare Source
1.3.1 (September 28, 2022)
NOTE:
darwin/amd64
anddarwin/arm64
architectures,terraform
binaries are now built with CGO enabled. This should not have any user-facing impact, except in cases where the pure Go DNS resolver causes problems on recent versions of macOS: using CGO may mitigate these issues. Please see the upstream bug https://github.com/golang/go/issues/52839 for more details.BUG FIXES:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.