Terraform 1.15.8 fixes init provider installation issues
Terraform v1.15.8 resolves an error in `terraform init` that occurred when installing providers from a service-discovery alias. This patch also reverts certain changes to provider installation logging and event order to enable future enhancements without significant end-user impact. The update is relevant for users performing `terraform init` with specific backend configurations.
Fixes (1) ›
Fix terraform init error when installing providers sourced from a service-discovery alias advertised by the configured backend (such as localterraform.com)
Notes (2) ›
command/init: Provider installation was changed to enable future enhancements in the area. This effectively reverses the log message changes from v1.15. initializing_provider_plugin_message is being re-introduced to replace the short-lived two message types initializing_provider_plugin_from_config_message & initializing_provider_plugin_from_state_message. The change should not have any significant end-user impact aside from the command output
command/init: Provider installation was changed to enable future enhancements in the area. This partially reverses the init event order changes from v1.15; module installation will now occur after the backend is initialized. The change should not have any significant end-user impact aside from the command output
https://github.com/hashicorp/terraform/releases/tag/v1.15.8