great-optician-69584
07/01/2021, 2:16 PMgreat-optician-69584
07/01/2021, 2:16 PMgreat-optician-69584
07/01/2021, 2:16 PMgreat-optician-69584
07/01/2021, 2:17 PMgreat-optician-69584
07/01/2021, 2:17 PMgreat-optician-69584
07/01/2021, 2:17 PMgreat-optician-69584
07/01/2021, 2:17 PMpurple-lawyer-35555
07/01/2021, 2:41 PMcold-motherboard-287
07/01/2021, 4:46 PMasync
"things" happening inside of a ComponentResource? I need to use await and inside of the constructor, AFAIK, is not possible.bright-sandwich-93783
07/01/2021, 10:30 PMbland-florist-21412
07/01/2021, 10:36 PMBigQuery
Dataset
with code like the following:
ds = Dataset('product_metrics_dataset',
dataset_id='pm',
location=location,
project=project_id)
and I'm getting this error:
googleapi: Error 400: Invalid dataset ID "projects/fullsuitetest/datasets/pm". Dataset IDs must be alphanumeric (plus underscores and dashes) and must be at most 1024 characters long., invalid
it appears that the projects/fullsuitetest/datasets/
prefix is an error but Pulumi is adding that on my behalf. Any ideas what's going wrong?billowy-army-68599
07/02/2021, 9:45 AMhelpful-hair-30515
07/02/2021, 2:39 PMpulumi up
and it created the 29 resources after that if i do pulumi preview
it again deleting the resources i did not change any of my source code i am using pulumi version 3.5.1
mysterious-lighter-33699
07/02/2021, 6:54 PMbetter-shampoo-48884
07/04/2021, 8:12 AMicy-football-94152
07/04/2021, 9:09 AMcolossal-battery-24701
07/05/2021, 11:03 AMType 'Output<string> | undefined' is not assignable to type 'Input<string>'.
How can I add these variables neatly? This example shows only one API and few variable but in actual code, I have many routes and 20+ env variable. Any help is appreciated
export const apiGateway = new awsx.apigateway.API('retool-lambda-api-gw', {
routes: [
{
path: '/oc/d-sup',
authorizers: authorizerAPI,
method: 'POST',
eventHandler: new aws.lambda.CallbackFunction('retool-lambda-delete-supporter', {
callback: async (event: awsx.apigateway.Request) => {
return routes.deleteSupporterHandler(event);
},
environment: {
variables: {
DB_HOST: config.getSecret('DB_HOST'), // this and the below vars throw error
DB_USER: config.getSecret('DB_USER'),
DB_PASSWORD: config.getSecret('DB_PASSWORD'),
DB_NAME: config.getSecret('DB_NAME'),
}
},
role: role,
vpcConfig: {
subnetIds: [awsNetworkingEnvVariables.SUBNET_ID],
securityGroupIds: [lambdaSecurityGroup.id],
}
}),
},
],
});
icy-football-94152
07/05/2021, 2:48 PMambitious-article-39970
07/05/2021, 3:03 PM'secrets': [{ 'name': "dbpassword", 'valueFrom': str(db_password.arn.apply(lambda a : f"{a}"))}],
when I use the lambda to write the value down to the log *pulumi.warn im getting the expected arn value however this doestn appear to be what is sent to awsambitious-article-39970
07/05/2021, 3:22 PMicy-football-94152
07/05/2021, 3:35 PMflaky-school-82490
07/05/2021, 10:06 PMbored-monitor-99026
07/06/2021, 3:21 AMalert-monitor-28534
07/06/2021, 9:38 AMnutritious-shampoo-16116
07/06/2021, 1:38 PMecs_target_groups = [
{'arn': target_group_4004.arn, 'port': target_group_4004.port},
{'arn': target_group_443.arn, 'port': target_group_443.port},
]
pulumi.export('ecs_target_groups', ecs_target_groups)
But this code is giving me null for the two resources already exported previously
ecs_target_groups = [
{'arn': target_group_4004.arn, 'port': target_group_4004.port},
{'arn': target_group_443.arn, 'port': target_group_443.port},
]
temp_ecs_target_groups = [
{'arn': target_group_4004.arn, 'port': target_group_4004.port},
{'arn': target_group_443.arn, 'port': target_group_443.port},
{'arn': target_group_4000.arn, 'port': target_group_4000.port},
]
pulumi.export('ecs_target_groups', ecs_target_groups)
pulumi.export('temp_ecs_target_groups', temp_ecs_target_groups)
bright-sandwich-93783
07/06/2021, 1:59 PMpulumi.DependsOn
option requires a resource. Is there a way to enforce dependency on `Outputs`instead? Since I cannot implement a custom resource provider in Go, the best I can do is use an ApplyT
call on an output to make manual API calls, and reeturn a BoolOutput
to indicate success or not. I would like subsequent resources created to Depend On
that BoolOutput
. Any thoughts?bright-sandwich-93783
07/06/2021, 2:02 PMresource1 := NewResource(...)
output2 := resource1.output1.ApplyT(func(s) bool {
// make API calls to external service
return true
}
resource2 := NewResource(..., pulumi.DependsOn(output2))
^ arg requires pulumi.Resource
damp-school-17708
07/06/2021, 2:21 PM--platform
flag into the pulumi code I get back an error, that the command is not right.
If I copy the command and paste into the terminal as-is the docker build works...
I've put a very simple sample into github to reproduce https://github.com/aterreno/pulumi-docker-multiarch
What's the best repo to open an issue on github @pulumi/pulumi?
Or am I missing something else and it's not a bug?
Thanksmany-yak-61188
07/06/2021, 3:24 PMgithub actions + python source managed by poetry + pulumi-aws also managed by poetry
most of the examples / documentation utilize pip
i'm running into an issue with my combination and figured I'd ask if someone had a pointerfull-island-88669
07/06/2021, 3:26 PMbucket.name
, but having an error:
'Bucket' object has no attribute 'name'
full-island-88669
07/06/2021, 3:26 PMbucket.name
, but having an error:
'Bucket' object has no attribute 'name'
billowy-army-68599
07/06/2021, 3:28 PMbucket.bucket
full-island-88669
07/06/2021, 4:26 PM