sparse-intern-71089
08/09/2019, 2:53 PMwhite-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 })
little-energy-64187
08/09/2019, 3:58 PMlittle-energy-64187
08/14/2019, 4:40 PMcool-egg-852
08/14/2019, 4:49 PMregion: 'global'
? Does that work? Or maybe region: ''
?little-energy-64187
08/14/2019, 4:53 PMlittle-energy-64187
08/14/2019, 5:04 PMgcp.compute.GlobalAddress
not gcp.compute.Address