You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed the npm package but when I run "pulumi up" command I get the following error
error: no resource plugin 'pulumi-resource-gcp-global-cloudrun' found in the workspace at version v0.0.3 or on your $PATH, install the plugin using `pulumi plugin install resource gcp-global-cloudrun v0.0.3`
here you can see the file where I use gcp-global-cloudrun
// Main provider libraries and sdks
import * as pulumi from '@pulumi/pulumi';
import * as docker from '@pulumi/docker';
import * as gcp from '@pulumi/gcp';
import * as cloudrun from '@pulumi/gcp-global-cloudrun';
// Variables
import { variables } from './project.variables';
// Module imports
import { storage } from './src.modules/storage';
// Commented out not to disable the service at every destroy
const apiServices = [
'run.googleapis.com',
'container.googleapis.com',
'iam.googleapis.com',
'cloudbuild.googleapis.com',
'storage.googleapis.com',
'logging.googleapis.com',
'pubsub.googleapis.com',
'cloudresourcemanager.googleapis.com',
'cloudkms.googleapis.com',
'cloudfunctions.googleapis.com',
'cloudtrace.googleapis.com',
'compute.googleapis.com',
'containerregistry.googleapis.com',
'containeranalysis.googleapis.com',
'dataproc.googleapis.com',
];
// Loop that enable service apis list for the projects
const apis = apiServices.map(
(name) =>
new gcp.projects.Service(name, {
service: name,
})
);
// Create Storage Resources - src-modules/storage
const bucket = storage.bucket;
const acl = storage.acl;
const bucketObject = storage.bucketObject;
// outputs
export const bucketUrl = storage.url;
// Containers Cloud Run
const myImage = new docker.Image(
'remix-image',
{
imageName: 'gcr.io/ps-pulumi/remix-image',
build: {
context: '../remix',
},
},
{ dependsOn: [...apis] }
);
export const imageName = myImage.imageName;
const deployment = new cloudrun.Deployment('my-sample-deployment', {
projectId: variables.project!!,
imageName: 'gcr.io/ps-pulumi/remix-image',
serviceName: 'demo-service-ts',
});
export const ip = deployment.ipAddress;
Steps to reproduce
Create pulumi project
Give correct permissions
Import global cloud run package
Copy over docs
Pulumi up
----> Error
Expected Behavior
Pulumi Up finishes and can deploy global infrastructure
Actual Behavior
Error
Tried resolutions
Followed the initial error messages instructions to install the Pulumi plugin, but then get the following error.
Versions used
Latest on NPM
"@pulumi/gcp-global-cloudrun": "^0.0.3",
Additional context
Thanks for the help and putting this package together, it's exactly what I've been looking for... if it worked ;) ✋🏻
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
What happened?
Installed the npm package but when I run "pulumi up" command I get the following error
here you can see the file where I use gcp-global-cloudrun
Steps to reproduce
----> Error
Expected Behavior
Pulumi Up finishes and can deploy global infrastructure
Actual Behavior
Error
Tried resolutions
Followed the initial error messages instructions to install the Pulumi plugin, but then get the following error.
Versions used
Latest on NPM
"@pulumi/gcp-global-cloudrun": "^0.0.3",
Additional context
Thanks for the help and putting this package together, it's exactly what I've been looking for... if it worked ;) ✋🏻
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: