brash-house-42711
04/23/2021, 6:33 PM@pulumi/eks
module) gets created (CREATE_COMPLETE status). Is there a way to hook up to such event in Pulumi?microscopic-flag-7479
04/23/2021, 6:33 PMacoustic-mouse-61163
04/23/2021, 6:36 PMgreat-library-25724
04/23/2021, 10:05 PMglamorous-helmet-50600
04/23/2021, 10:09 PMclever-raincoat-73326
04/25/2021, 1:11 AMelegant-pager-5412
04/25/2021, 6:50 AMroot/
├─ frontend/
│ ├─ infra/
│ │ ├─ index.ts
│ ├─ src/
| | |- foo.handler.ts
├─ backend/
│ ├─ infra/
│ │ ├─ index.ts
│ ├─ src/
├─ shared-infra/
│ ├─ index.ts
elegant-pager-5412
04/25/2021, 6:50 AMindex.ts
file for the project inside the infra
subdirectory?elegant-pager-5412
04/26/2021, 5:03 AMOutput
. Are there any ways around that?elegant-pager-5412
04/26/2021, 5:04 AMQueue
and a CallbackFunction
defined and I want to add the CallbackFunction
as the `Queue`’s event source. I’m trying to use the queue.onEvent
method to do so, but I’m required to give the onEvent
a name for the source mapping. I would like that name to just be my lambda’s name and the word Event
at the end of it. How can I achieve that?wet-noon-14291
04/26/2021, 8:09 AMswift-agency-29333
04/26/2021, 10:12 AMgifted-city-99717
04/26/2021, 11:58 AMimport { FirehoseClient, PutRecordCommand } from "@aws-sdk/client-firehose";
import * as aws from "@pulumi/aws";
import * as s3stream from "./s3stream";
export const myStream = new s3stream.S3Stream("my-test-steam", {
provider: new aws.Provider("provider", { region: <aws.Region>awsConfig.get("region")}),
runtime: <aws.lambda.Runtime>config.get("runtime"),
callback: async(event: awsx.apigateway.Request): Promise<awsx.apigateway.Response> => {
const params = {
DeliveryStreamName: firehose.name.get(), // <-- firehose is created in the s3stream.S3Stream component
Record: {Data: new TextEncoder().encode(body)}
};
}
});
broad-dog-22463
04/26/2021, 12:01 PM- uses: pulumi/action-install-pulumi-cli@master
with:
pulumi-version: 3.0.*
brash-country-7541
04/26/2021, 12:13 PMbumpy-summer-9075
04/26/2021, 12:51 PMincalculable-engineer-92975
04/26/2021, 12:55 PMshy-sandwich-50117
04/26/2021, 1:28 PMusing Pulumi.AzureNative
and
using Pulumi.Azure
gorgeous-match-99659
04/26/2021, 2:16 PMerror: could not get cloud url: could not load current project: project is missing a 'name' attribute
average-ability-11166
04/26/2021, 2:48 PMinputs to import do not match the existing resource; importing this resource will fail
when importing a CloudFormation template and I can't find the difference between my supplied parameters and the template parameters. Is there a way to debug which parameters are out of sync?worried-church-46455
04/26/2021, 4:47 PMa great solution to the horror that is Terraformand I +1 to that 🙂 I’m curious if there’s any updates to the Ruby language support? It’d make migrating to Pulumi more compiling to the teams that use Ruby!
enough-truck-34175
04/26/2021, 5:59 PMfunc NewAKSComponent(ctx *pulumi.Context, name string, params Parameters, opts ...pulumi.ResourceOption) (*Component, error) {
aksComponent := &Component{}
err := ctx.RegisterComponentResource("r1-compute-infra:k8scp:AKSComponent", name, aksComponent, opts...)
I got this error
--- FAIL: TestAKSComponent (0.00s)
/workspaces/r1-compute-infra/pkg/aks/index_test.go:26:
Error Trace: index_test.go:26
run.go:103
run.go:84
index_test.go:24
Error: Received unexpected error:
resource name argument (for URN creation) cannot be empty
RegisterComponentResource failed
<http://github.com/relativityone/r1-compute-infra/pkg/aks.NewAKSComponent|github.com/relativityone/r1-compute-infra/pkg/aks.NewAKSComponent>
/workspaces/r1-compute-infra/pkg/aks/index.go:48
<http://github.com/relativityone/r1-compute-infra/pkg/aks.TestAKSComponent.func1|github.com/relativityone/r1-compute-infra/pkg/aks.TestAKSComponent.func1>
/workspaces/r1-compute-infra/pkg/aks/index_test.go:25
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.RunWithContext|github.com/pulumi/pulumi/sdk/v3/go/pulumi.RunWithContext>
/home/vscode/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.1.0/go/pulumi/run.go:103
<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi.RunErr|github.com/pulumi/pulumi/sdk/v3/go/pulumi.RunErr>
/home/vscode/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.1.0/go/pulumi/run.go:84
<http://github.com/relativityone/r1-compute-infra/pkg/aks.TestAKSComponent|github.com/relativityone/r1-compute-infra/pkg/aks.TestAKSComponent>
/workspaces/r1-compute-infra/pkg/aks/index_test.go:24
testing.tRunner
/usr/local/go/src/testing/testing.go:1194
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1371
Test: TestAKSComponent
Is there a process in place for testing resource components or is the way I’ve setup my code not the intended strategy? Currently, I’m calling NewAKSComponent
to the AKS cluster and its azure resource group.
Thanks!worried-queen-62794
04/26/2021, 10:05 PMlittle-cartoon-10569
04/27/2021, 4:02 AMhandsome-state-59775
04/27/2021, 5:02 AMpulumi preview
doesn't list stacks anymore. If I revert name change, select stack lists correctly.
How can I migrate an existing stack to use the new project name?nice-hamburger-80052
04/27/2021, 7:29 AMerror sending request: googleapi: Error 403: Your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the <http://cloudasset.googleapis.com|cloudasset.googleapis.com>. We recommend configuring the billing/quota_project setting in gcloud or using a service account through the auth/impersonate_service_account setting. For more information about service accounts and how to use them in your application, see <https://cloud.google.com/docs/authentication/>.
damp-tiger-87899
04/27/2021, 11:10 AMelegant-pager-5412
04/27/2021, 12:17 PMpulumi up
recursively?
It is great that Pulumi knows that it depends on some variable from another stack, however, I have to manually run pulumi up
in that stack in order for my dependent stack to use that output from that stack.
Is there any way to run pulumi up
recursively?wonderful-dog-9045
04/27/2021, 12:22 PMbored-car-38257
04/27/2021, 3:29 PM