ancient-solstice-62300
03/16/2022, 11:04 PMlittle-cartoon-10569
03/17/2022, 1:22 AMstale-vase-87890
03/17/2022, 2:02 PMfast-easter-23401
03/17/2022, 3:30 PMbright-diamond-93374
03/17/2022, 3:53 PMstageVariables
to define AWS API Gateway integrations?
I have been trying to do something like this:
new Aws.ApiGatewayV2.Integration("lambda", new Aws.ApiGatewayV2.IntegrationArgs
{
ApiId = "...",
IntegrationMethod = "POST",
IntegrationType = "AWS_PROXY",
IntegrationUri = "${stageVariables.apiFunc}",
PayloadFormatVersion = "2.0",
});
but pulumi is complaining the IntegrationUri
is not a proper ARNred-football-97286
03/17/2022, 4:00 PMmelodic-car-16900
03/17/2022, 4:24 PMpulumi up --yes-if-unchanged
it would make workflows way easier for usthankful-coat-47937
03/17/2022, 5:45 PMpulumi preview
requires in various cloud providers? use case is running pulumi preview
on feature branches but not having the env have "full admin" to execute the actual changesbusy-magazine-6225
03/17/2022, 6:38 PMambitious-father-68746
03/17/2022, 10:14 PMambitious-lifeguard-6753
03/17/2022, 10:39 PMpulumi:pulumi:Stack currents-prod
~ ├─ aws:alb:Listener so-shared-prod-swell-https-forward update [diff: ~defaultActions]
+- ├─ aws:ecs:TaskDefinition so-shared-prod-swell replace [diff: ~containerDefinitions]
~ └─ aws:ecs:Service so-shared-prod-swell update [diff: ~taskDefinition]
Has anyone had this issue before?thankful-coat-47937
03/17/2022, 11:35 PMpulumi preview
ran in CI builds sometimes formats oddly. example:
any idea what packages / flags i can use to get it to format correctly?thankful-coat-47937
03/17/2022, 11:36 PMfuture-window-78560
03/18/2022, 5:48 AMgreat-sunset-355
03/18/2022, 9:40 AMechoing-angle-67526
03/18/2022, 2:45 PMpulumi preview --save-plan plan.json
pulumi up --plan=plan.json
Previewing update (redacted/dev)
Type Name Plan
pulumi:pulumi:Stack test-dev running.
panic: fatal: An assertion has failed
goroutine 77 [running]:
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
/Users/runner/work/pulumi/pulumi/sdk/go/common/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assert(...)>
/Users/runner/work/pulumi/pulumi/sdk/go/common/util/contract/assert.go:26
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*ResourcePlan).checkGoal|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*ResourcePlan).checkGoal>(0x184ce40, 0xc0013d4700, 0xc0013d4700, 0x3d)
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/plan.go:479 +0xf94
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateSteps(0xc0006546c0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).generateSteps(0xc0006546c0>, {0x7f67304ac0b8, 0xc0025a0790})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:471 +0x16cb
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).GenerateSteps(0xc0006546c0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*stepGenerator).GenerateSteps(0xc0006546c0>, {0x7f67304ac0b8, 0xc0025a0790})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:186 +0x46
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).handleSingleEvent(0xc00063a2d0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).handleSingleEvent(0xc00063a2d0>, {0x1e77f20, 0xc0025a0790})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:413 +0xe5
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute.func3(0xc00065a720|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute.func3(0xc00065a720>, 0xc00063a2d0, 0xc0006462d0, {0x1ea9c50, 0xc000644400}, 0x0, 0x0, {0x1ea9cf8, 0xc00232e6c0})
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:250 +0x273
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0xc00063a2d0|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*deploymentExecutor).Execute(0xc00063a2d0>, {0x1ea9cf8, 0xc00232e6c0}, {{0x7f6730403008, 0xc000bfcf20}, 0x7fffffff, 0x0, 0x0, {0x2cb4720, 0x0, ...}, ...}, ...)
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:266 +0x95f
<http://github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(0xc0020dc420|github.com/pulumi/pulumi/pkg/v3/resource/deploy.(*Deployment).Execute(0xc0020dc420>, {0x1ea9cf8, 0xc00232e6c0}, {{0x7f6730403008, 0xc000bfcf20}, 0x7fffffff, 0x0, 0x0, {0x2cb4720, 0x0, ...}, ...}, ...)
/Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment.go:447 +0xd0
<http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run.func1()>
/Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:269 +0x250
created by <http://github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run|github.com/pulumi/pulumi/pkg/v3/engine.(*deployment).run>
/Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:252 +0x371
when i do a regular pulumi up on the same program (which i presume uses an internally generated plan file) it works fine. any idea why passing the plan file causes the assert failure? should i create a github issue?quick-airport-30353
03/18/2022, 2:48 PMpulumi up
I get this error:
Failed to resolve python version command: exit status 103
bright-receptionist-28471
03/18/2022, 4:12 PMhelpful-account-44059
03/18/2022, 4:55 PMadorable-gpu-98268
03/18/2022, 10:41 PMwooden-address-79679
03/19/2022, 4:49 AMadorable-gpu-98268
03/19/2022, 8:02 PMgifted-electrician-66436
03/20/2022, 7:29 AM"dnsIpAddresses": [
"10.0.2.66",
"10.0.1.148"
]
What I get :
"dnsIpAddresses": [
"10.0.2.108,10.0.1.47"
]
My code :
"dnsIpAddresses": ["${barDirectory.dnsIpAddresses}"]
My silly solution :
"dnsIpAddresses": ["${barDirectory.dnsIpAddresses[0]}", "${barDirectory.dnsIpAddresses[1]}"]
Any suggestion guys? thx a lot for your timebillions-glass-17089
03/20/2022, 1:13 PMComponentResource
type
parameters to help with namespacing resources?
I.E:
class VPC extends ComponentResource {
constructor(name: string, opts: ComponentResourceOptions = {}) {
super(`VPCComponent/${name}`, name, undefined, opts)
}
}
more deets here: https://github.com/pulumi/pulumi/discussions/9250adorable-gpu-98268
03/20/2022, 1:23 PMpulumi-nodejs:dynamic:Resource
, so the URN’s would conflict if I don’t choose the names carefully.adorable-gpu-98268
03/20/2022, 1:25 PMwet-fall-68417
03/20/2022, 1:39 PMaws.apigatewayv2.Api
resource, using the body input, and not with the aws.apigatewayv2.Authorizer
resource.
Is there a way to get the authorizer id from the aws.apigatewayv2.Api
resource?
At the moment in order to make it work, we have to run pulumi up twice. First to create the authorizer, manually updating the code with its id, then running pulumi up again to create the lambda permissions.
localAuthFuncID = "as3dsc"
const localAuthSourceARN = pulumi.interpolate`arn:aws:execute-api:${region}:${account}:${APIGateWaylocal.id}/authorizers/${localAuthFuncID}`
new aws.lambda.Permission("localAuthorizerFunctionpolicylambda", {
action: "lambda:InvokeFunction",
"function": authorizerFunctionLambda.name,
principal: "<http://apigateway.amazonaws.com|apigateway.amazonaws.com>",
sourceArn: localAuthSourceARN,
statementId: "localAuthorizerFunctionpolicylambda"
})
Last time @great-queen-39697 helped me with another aws issue. Thanks!adorable-gpu-98268
03/20/2022, 1:56 PM__provider
input? Should I be checking this in diff
when I want to force a replacement when it’s changed?billowy-horse-79629
03/20/2022, 6:46 PMgetIssuerCAThumbprint()
function on ts, and i’m using a native https.Agent, and an Output<>
as the issueUrl
.
For some reason when i’m trying to preview
it’s waiting the cert to be fetched instead of skipping it (as output functions should work), and i’m getting this error (on the image).
Any help please ? Thanks guys.future-window-78560
03/20/2022, 8:00 PM