We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a0602d commit b51a1e5Copy full SHA for b51a1e5
helpers/migrate.py
@@ -31,7 +31,8 @@
31
{
32
"resource_type": "google_compute_shared_vpc_host_project",
33
"name": "shared_vpc_host",
34
- "module": ".module.vpc"
+ "module": ".module.vpc",
35
+ "new_plural": False
36
},
37
38
"resource_type": "google_compute_subnetwork",
@@ -280,7 +281,7 @@ def read_state(self):
280
281
def resource_value(self, resource, key):
282
# Find the resource in the state
283
state_resource_list = [r for r in self.state["resources"] if
- r["module"] == resource.module and
284
+ r.get("module", "none") == resource.module and
285
r["type"] == resource.resource_type and
286
r["name"] == resource.name]
287
0 commit comments