icy-engineer-10830
09/26/2019, 2:57 PM* const instanceTemplate = new gcp.compute.InstanceTemplate("instanceTemplate", {
* // boot disk
* disks: [{}],
* machineType: "n1-standard-1",
* namePrefix: "instance-template-",
* // networking
* networkInterfaces: [{}],
* region: "us-central1",
* });
but fails on creation with: Diagnostics:
gcp:compute:InstanceTemplate (instanceTemplate):
error: gcp:compute/instanceTemplate:InstanceTemplate resource 'instanceTemplate' has a problem: "name": conflicts with name_prefix
gentle-diamond-70147
09/26/2019, 3:02 PMname
defined there.icy-engineer-10830
09/26/2019, 3:03 PMgentle-diamond-70147
09/26/2019, 3:04 PMname
property that lets you override the auto-naming functionality. I wasn't sure if you set that too.
Sounds like a bug. Can you open an issue at https://github.com/pulumi/pulumi-gcp/issues ?white-balloon-205
icy-engineer-10830
09/26/2019, 3:08 PM