Evan Brown f2fed94a71 builder/googlecompute: Derive network and subnetwork IDs locally
This change constructs partial URLs for networks and subnetworks if they
are not already partial or full URLs (i.e., they do not contain a '/' in
their name). Network and subnetwork self-links are no longer retrieved
from the API.

Previously, if a user did not provide the network or subnetwork as a
fully-qualified URL (i.e., self-link), the builder would make
compute.(sub)networks.get API calls with the provided identifier to
discover the self-link. This requires the user or service account Packer
is using to have permission to describe those network resources, which
is becoming less common as IAM is used more. Specifically, a user may
have permission to launch a VM into a network/subnetwork, but will not
have permission to call APIs to describe network resources.
2017-11-06 16:41:42 -08:00
..
WIP
2017-11-02 09:03:44 -07:00
2017-09-07 11:44:38 -07:00
2017-10-25 10:53:06 -07:00
2017-04-04 13:39:01 -07:00
2017-10-31 08:48:17 -07:00
2017-09-05 15:23:22 -07:00
2017-06-21 12:00:34 -07:00
2017-08-30 12:10:12 -07:00
2017-11-02 10:45:54 -07:00