According to the changelog for release v3.0.0:
https://github.com/hashicorp/terraform-provider-random/blob/master/CHANGELOG.md#300-october-09-2020
Remove deprecated b64 attribute
Terraform helpfully suggests:
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
* provider.null: version = "~> 3.0"
* provider.random: version = "~> 3.0"
* provider.template: version = "~> 2.2"
* provider.tfe: version = "~> 0.22"
The immediate solution to the error, is to rollback the random provider by adding required_providers
to a terraform
block, probably in main.tf
terraform {
required_providers {
random = {
version = "~> 2.3.0"
}
}
}
b64
is supported. Onlyb64_url
&b64_std
are supported.