little-energy-64187
08/09/2019, 2:53 PMCannot determine region: set in this resource, or set provider-level 'region' or 'zone'
white-balloon-205
region
. Can you share the code snippet you are trying to use?little-energy-64187
08/09/2019, 3:57 PMexport const addr = new gcp.compute.Address("name", {
project: "project",
name: "name",
}, { import: "name" })
It errored with resource does not exists.
Then I suspected the region might be the problem since that's set globally by the stack gcp:zone: europe-west2-c
, so then I tried
const regionlessProvider = new gcp.Provider("project", { project: "project" })
export const addr = new gcp.compute.Address("name", {
project: "project",
name: "name",
}, { import: "name", provider: regionlessProvider })
cool-egg-852
08/14/2019, 4:49 PMregion: 'global'
? Does that work? Or maybe region: ''
?little-energy-64187
08/14/2019, 4:53 PMgcp.compute.GlobalAddress
not gcp.compute.Address