Skip to content

Commit 229f785

Browse files
committed
Migration script: search for cluster, not pools
1 parent c55c995 commit 229f785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/migrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def migrate(statefile=None, dryrun=False):
259259
# unique to a GKE module.
260260
modules_to_migrate = [
261261
module for module in modules
262-
if module.has_resource("google_container_cluster", "zonal_pools")
262+
if module.has_resource("google_container_cluster", "zonal_primary")
263263
]
264264

265265
print("---- Migrating the following modules:")

0 commit comments

Comments
 (0)