https://pulumi.com logo
#golang
Title
# golang
b

bumpy-bear-61087

03/03/2024, 12:33 PM
In the beginning I tried
Copy code
if _, err := projects.NewService(ctx, "enable-service-serviceusage", &projects.ServiceArgs{
    DisableDependentServices: pulumi.Bool(false),
    DisableOnDestroy:         pulumi.Bool(false), // gives issues else
    Project:                  pulumi.String(cfg.ProjectID),
    Service:                  pulumi.String("serviceusage" + ".googleapis.com"),
}); err != nil {
    return err
}