terraform-provider-nebius.storage.ai.nebius.cloud/nebius/nebius and terraform-provider.storage.eu-north1.nebius.cloud/nebius/nebius. If your Terraform configuration uses one of these source addresses, you need to upgrade the provider in it to a corresponding 0.6.y version in the Terraform Registry.
Migrating to the Terraform Registry doesn’t affect the existing resources that your configuration manages.
-
Find
terraform.tfor another file that contains the top-levelterraformblock. -
In the
required_providersblock, find thenebiusprovider and check its source address insource:source = "terraform-provider.storage.eu-north1.nebius.cloud/nebius/nebius"orsource = "terraform-provider-nebius.storage.ai.nebius.cloud/nebius/nebius": follow the next steps to migrate the configuration.source = "nebius/nebius": the configuration is already migrated, no action is required.
-
Upgrade to the most recent 0.5.x version:
- Check the most recent 0.5.x version in the release notes.
-
In
terraform.tf, update the version constraint: -
Re-initialize the working directory:
-
Replace the source address and upgrade from 0.5.x to 0.6.y:
-
In
terraform.tf, update the source address and the version constraint:To find the corresponding 0.6.y version, use the following mapping:- 0.5.218 → 0.6.9
- 0.5.217 → 0.6.8
- etc.
-
In the root module or workspace that owns the Terraform state, replace the provider address in the state:
The commands back up the state file,
terraform.tfstate, before updating it. -
Re-initialize the working directory:
-
In
-
Check that the configuration uses the new source address for the provider:
The outputs must only reference
registry.terraform.io/nebius/nebius. If they still referenceterraform-provider.storage.eu-north1.nebius.cloud/nebius/nebiusorterraform-provider-nebius.storage.ai.nebius.cloud/nebius/nebius, perform the migration on nested modules that still use old source addresses for the provider. -
If your configuration is under version control, commit the changes that you made to it, including the updated dependency lock file (
.terraform.lock.hcl).