fix(artifact-registry): fix a move issue with tf>1.7 (#2617)

The TF 1.8 has introduced a new feature that makes the move failing:
> Providers can now transfer the ownership of a remote object between resources of different types, for situations where there are two different resource types that represent the same remote object type.
> This extends the moved block behavior to support moving between two resources of different types only if the provider for the target resource type declares that it can convert from the source resource type. Refer to provider documentation for details on which pairs of resource types are supported.
https://github.com/hashicorp/terraform/blob/v1.8/CHANGELOG.md#180-april-10-2024
This commit is contained in:
Benoît Sauvère
2024-10-11 11:41:05 +02:00
committed by GitHub
parent 8101a26652
commit ce09c07ced

View File

@@ -20,6 +20,7 @@ moved {
}
resource "google_artifact_registry_repository_iam_binding" "authoritative" {
provider = google-beta
for_each = local.iam
project = var.project_id
location = google_artifact_registry_repository.registry.location