curved-ghost-20494
07/06/2020, 3:27 PMdamp-elephant-82829
07/07/2020, 10:23 AMproud-pharmacist-20003
07/07/2020, 7:06 PMproject.id
in the nameproud-pharmacist-20003
07/07/2020, 7:06 PMproud-pharmacist-20003
07/07/2020, 7:06 PMlet bucket;
project.id.apply(projectId => {
bucket = new gcp.storage.Bucket(`${projectId}-storage`);
});
proud-pharmacist-20003
07/07/2020, 7:08 PMproud-pharmacist-20003
07/07/2020, 7:17 PMmany-dress-88879
07/07/2020, 11:40 PMgsutil iam ch \
serviceAccount:service-PROJECT_NUM@cloud-cdn-fill.iam.gserviceaccount.com:objectViewer \
gs://[BUCKET]
many-dress-88879
07/08/2020, 5:39 PMhallowed-rain-9096
07/10/2020, 5:39 PMnew Config("gcp").Require("project")
a reasonable way to grab the project id out of config when needed? Are there downsides to this approach?echoing-rain-5741
07/14/2020, 4:31 PMerror: could not load plugin for gcp provider 'urn:pulumi:...::pulumi:providers:gcp::default': no resource plugin 'gcp' found in the workspace or on your $PATH
. I removed all the plugins locally, and found that the kubernetes plugin automatically downloads, but the gcp plugin doesn’t. Is this the way it’s supposed to be? I think i read somewhere that pulumi always automatically fetches the appropriate pluginbest-notebook-53829
07/20/2020, 10:04 AMscratch_disk
which could lead to unnecessary expense for people who copy / paste sample because it creates a local SSD storage of 375Go (30$/mont).
I mention this because we don't see immediately the interface type means it'll create a local disk of 375Go.
So just a remark not an issue by the way 🙂big-sandwich-99015
07/25/2020, 5:43 AMbroad-dentist-41670
07/30/2020, 10:31 AMproud-spoon-58287
08/03/2020, 4:23 PMdamp-elephant-82829
08/04/2020, 3:01 PMdamp-elephant-82829
08/05/2020, 1:06 PMcloudRunServiceAccount = compute.get_default_service_account(project = project.project_id, opts = ResourceOptions(depends_on=[enableComputeEngine]))
fails like so: Exception: invocation of gcpcompute/getDefaultServiceAccountgetDefaultServiceAccount returned an error: invoking gcpcompute/getDefaultServiceAccountgetDefaultServiceAccount: Error when reading or editing GCE default service account: googleapi: Error 403: Compute Engine API has not been used in project 600057883572 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=600057883572 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry., accessNotConfigured
error: an unhandled error occurred: Program exited with non-zero exit code: 1damp-elephant-82829
08/05/2020, 1:06 PMdamp-elephant-82829
08/05/2020, 1:07 PMcurved-ghost-20494
08/05/2020, 1:18 PMpulumi refresh && pulumi up
work? I've had that same issue with a couple of services when enabling them in a project for the first timecurved-ghost-20494
08/07/2020, 10:19 AMeventTrigger: {
eventType: "providers/cloud.firestore/eventTypes/document.create",
resource:
"projects/[PROJECTNAME]/databases/(default)/documents/foos/{id}",
},
curved-ghost-20494
08/07/2020, 10:19 AMcurved-ghost-20494
08/07/2020, 10:19 AMcurved-ghost-20494
08/07/2020, 10:20 AMhelpful-processor-86468
08/14/2020, 11:49 AMgcp:organizations/getIAMPolicy:getIAMPolicy returned an error: grpc: error while marshaling: proto: repeated field Values has nil element
with:
scheduler_policy_func_invoker = organizations.get_iam_policy(bindings=[
{
"members": [job_account_member],
"role": "roles/cloudfunctions.invoker",
},
])
witty-queen-15449
08/18/2020, 11:23 PMcool-jordan-85318
08/21/2020, 2:55 PMconst prodFolder = new Folder(name,
{
displayName: name,
parent: "organizations/<org_id>",
}
)}
const googleCloudProject = new gcp.organizations.Project(name,
{
name: "some-name",
projectId: "some-id",
folderId: folder.id,
});
I receive this error
error: error creating project unicorn (Funke Infrastructure): googleapi: Error 409: Requested entity already exists, alreadyExists. If you received a 403 error, make sure you have the `roles/resourcemanager.projectCreator` permission
If I leave out the folderId
in the Project creation above, the stuff works. What do I miss?
I use an account having the requested permission, just in case, even if it does not look like this kind of error.victorious-helmet-11068
08/24/2020, 3:38 PMvictorious-helmet-11068
08/24/2020, 3:39 PMvictorious-helmet-11068
08/24/2020, 3:39 PM