glamorous-printer-66548
11/01/2018, 12:20 AMstocky-spoon-28903
11/01/2018, 12:25 AMstrings.split(id, "/")[2]
to be a thing - which it is not given the name there.glamorous-printer-66548
11/01/2018, 12:38 AMterraform
import<zone>/<cluster_name>/<pool_name>
and when using this in pulumi as second param it actually works.default-pool
as identifier:
google_container_node_pool.default_pool: Importing from ID "default-pool"...
Error: google_container_node_pool.default_pool (import id: default-pool): import google_container_node_pool.default_pool (id: default-pool): Invalid container cluster specifier. Expecting {zone}/{cluster}/{name} or {project}/{zone}/{cluster}/{name}
Actually pretty helpful 🙂white-balloon-205
stocky-spoon-28903
11/02/2018, 2:25 AM