chore(deps): update hashicorp/terraform docker tag to v1.1.2 #226
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.11->1.1.2Release Notes
hashicorp/terraform
v1.1.2Compare 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:
-targetin combination withmovedblocks within modules (#30189)v1.1.1Compare Source
1.1.1 (December 15, 2021)
BUG FIXES:
countorfor_eachvalue (#30151)countorfor_each(#30171)v1.1.0Compare Source
1.1.0 (December 08, 2021)
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:
movedblocks 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 mvafter upgrading to a version of the module, as long as the change is expressible as static configuration. However,terraform state mvwill remain available for use in more complex migration situations that are not well-suited to declarative configuration.A new
cloudblock in theterraformsettings 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
-varflag, 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 planandterraform applyboth now include additional annotations for resource instances planned for deletion to explain why Terraform has proposed that action.For example, if you change the
countargument 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 graphcommand no longer supports-type=validateand-type=evaloptions. The validate graph is always the same as the plan graph anyway, and the "eval" graph was just an implementation detail of theterraform consolecommand. The default behavior of creating a plan graph should be a reasonable replacement for both of the removed graph modes. (Please note thatterraform graphis 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 applywith 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 mvwill now error when legacy-backupor-backup-outoptions are used without the-stateoption 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_graphswitches 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:
sourceargument inmoduleblocks) 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 theterraform initmessages 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)nullable = falseensures that a variable value will never benull, and may instead take on the variable's default value if the caller sets it explicitly tonull. (#29832)terraform planandterraform 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 planandterraform 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 thecountargument from an existing resource. For example, if you previously hadresource "aws_subnet" "example"withoutcount, you might haveaws_subnet.examplealready bound to a remote object in your state. If you addcount = 1to that resource then Terraform would previously silently rebind the object toaws_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 runningterraform destroyfirst. Previously the presence of data resources would require using-forceto 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)terraform state mvwill now return an error for-backupor-backup-outoptions used without the-stateoption, 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 newtype()function, available only in the interactive console, for inspecting the exact type of a particular value as an aid to debugging. (#28501)BUG FIXES:
ignore_changes = allnow works in override files. (#29849)depends_onarguments referring to not-yet-converged managed resources. (#29682)ignore_changescan 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)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)assume_roleblock arguments, so that they are more compatible with theterraform_remote_statedata source. (#29307)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.
This PR has been generated by WhiteSource Renovate. View repository job log here.