full-bear-42554
11/12/2020, 9:21 PMinst, err := compute.NewInstance(ctx, "mr. webbie", &compute.InstanceArgs{
BootDisk: &compute.InstanceBootDiskArgs{
InitializeParams: &compute.InstanceBootDiskInitializeParamsArgs{
Image: pulumi.String("debian-cloud/debian-10-buster"),
Size: <http://pulumi.Int|pulumi.Int>(30),
},
},
MachineType: pulumi.String("f1-micro"),
Name: pulumi.String("webbie"),
NetworkInterfaces: &compute.InstanceNetworkInterfaceArray{
&compute.InstanceNetworkInterfaceArgs{
Network: pulumi.String("default"),
},
},
Project: pulumi.String("webbie-295322"),
Zone: pulumi.String("us-west1-a"),
},
pulumi.Import(pulumi.ID("1214816920423977412")),
)No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by