big-state-95297
02/16/2021, 12:10 AMpulumi:pulumi:Stack (eks-dev):
error: program failed: missing one or more required arguments
exit status 1
error: an unhandled error occurred: program exited with non-zero exit code: 1
This is happening after I added the following to my eks cluster setup project:
oidcUrl := eksCluster.Core.OidcProvider().ApplyT(func(oidc *iam.OpenIdConnectProvider) pulumi.StringOutput { return oidc.Url })
ctx.Export("oidcUrl", oidcUrl)
eksCluster
is defined before as:
eksCluster, err := eks.NewCluster(ctx, "eks-cluster", &eks.ClusterArgs{
VpcId: pulumi.String(defaultVpc.Id),
SubnetIds: toPulumiStringArray(subnet.Ids),
InstanceType: pulumi.String("t2.medium"),
DesiredCapacity: <http://pulumi.Int|pulumi.Int>(1),
MaxSize: <http://pulumi.Int|pulumi.Int>(1),
MinSize: <http://pulumi.Int|pulumi.Int>(1),
EncryptionConfigKeyArn: key.Arn,
CreateOidcProvider: pulumi.Bool(true),
})
When I run the command with --verbose 6
, the logs show:
pulumi:pulumi:Stack eks-dev running.. error: program failed: missing one or more required arguments
I0215 16:57:18.681283 66724 eventsink.go:78] eventSink::Infoerr(<{%reset%}>exit status 1
pulumi:pulumi:Stack eks-dev running.. exit status 1
I0215 16:57:18.700585 66724 source_eval.go:178] EvalSourceIterator ended with an error: an unhandled error occurred: program exited with non-zero exit code: 1
How can I debug this further?curved-pharmacist-41509
02/16/2021, 3:31 AMunhandled rejection: CONTEXT(11151): resource:news-perthnow-dev-curation-app-task[aws:ecs/taskDefinition:TaskDefinition]
STACK_TRACE:
Error
at Object.debuggablePromise (/Users/jakeginnivan/_code/news-mono/node_modules/@pulumi/pulumi/runtime/debuggable.js:69:75)
at Object.registerResource (/Users/jakeginnivan/_code/news-mono/node_modules/@pulumi/pulumi/runtime/resource.js:219:18)
at new Resource (/Users/jakeginnivan/_code/news-mono/node_modules/@pulumi/pulumi/resource.js:215:24)
at new CustomResource (/Users/jakeginnivan/_code/news-mono/node_modules/@pulumi/pulumi/resource.js:307:9)
at new TaskDefinition (/Users/jakeginnivan/_code/news-mono/node_modules/@pulumi/ecs/taskDefinition.ts:209:9)
at new FargateApplication (/Users/jakeginnivan/_code/news-mono/dist/apps/infrastructure/webpack:/libs/pulumi-resources/src/lib/fargate-application.ts:308:22)
at new CurationApi (/Users/jakeginnivan/_code/news-mono/dist/apps/infrastructure/webpack:/libs/pulumi-resources/src/lib/curation.ts:206:29
Having a lot of trouble tracking down what is causing this, any pointers?fierce-engine-31599
02/16/2021, 7:58 AMechoing-activity-32278
02/16/2021, 9:21 AMpulumi
CLIbland-salesclerk-63112
02/16/2021, 10:11 AMvictorious-sugar-42620
02/16/2021, 11:25 AMdry-football-2639
02/16/2021, 11:30 AMThe Pulumi runtime detected that 5485 promises were still active
at the time that the process exited. There are a few ways that this can occur:
* Not using `await` or `.then` on a Promise returned from a Pulumi API
* Introducing a cyclic dependency between two Pulumi Resources
* A bug in the Pulumi Runtime
Leaving promises active is probably not what you want. If you are unsure about
why you are seeing this message, re-run your program with the `PULUMI_DEBUG_PROMISE_LEAKS`
environment variable. The Pulumi runtime will then print out additional
debug information about the leaked promises.
icy-jordan-58549
02/16/2021, 2:39 PMlemon-machine-35564
02/16/2021, 4:43 PMpreview
or up
the Lambda does not show up at all. Anyone run into this?gentle-monitor-55086
02/16/2021, 7:25 PMflat-insurance-25294
02/16/2021, 9:28 PMindex.ts
Where I define RDS, VPC, EKS, Pods/Services and etc.
I run Pulumi Up on it.
And some time later, I run Pulumi Up again but this time, I’ve commented out RDS, VPC, but still got EKS and K8 stuff.
Will Pulumi tear things down?
The reason I ask, is because I am worried about bugs on Pulimi side of things.
I like the idea of always having the state of the infra being pushed WITH the app and Pulumi doing changes if it see’s any, but I have been entertaining the notion of having the state of infra to be omitted, and just have the the EKS and K8 Manifests as part of Pulumi.
This would be like env variable that toggles what part of index.ts
it should run.stocky-student-96739
02/16/2021, 10:15 PMflat-insurance-25294
02/16/2021, 10:19 PMsparse-state-34229
02/17/2021, 8:37 AM├─ hatch:group_policy:GroupPolicy manage-self-main
│ │ URN: urn:pulumi:main::account::hatch:group_policy:GroupPolicy::manage-self-main
│ ├─ hatch:group:Group manage-self
│ │ │ URN: urn:pulumi:main::account::hatch:group_policy:GroupPolicy$hatch:group:Group::manage-self
│ │ └─ aws:iam/group:Group manage-self
│ │ URN: urn:pulumi:main::account::hatch:group_policy:GroupPolicy$hatch:group:Group$aws:iam/group:Group::manage-self
│ ├─ hatch:policy:Policy manage-self-main
│ │ │ URN: urn:pulumi:main::account::hatch:group_policy:GroupPolicy$hatch:policy:Policy::manage-self-main
│ │ └─ aws:iam/policy:Policy manage-self
│ │ URN: urn:pulumi:main::account::hatch:group_policy:GroupPolicy$hatch:policy:Policy$aws:iam/policy:Policy::manage-self
│ └─ aws:iam/groupPolicyAttachment:GroupPolicyAttachment manage-self
│ URN: urn:pulumi:main::account::hatch:group_policy:GroupPolicy$aws:iam/groupPolicyAttachment:GroupPolicyAttachment::manage-self
and I need to be able to import the AWS resources’ parents to maintain the relationshipjolly-bear-34819
02/17/2021, 10:42 AMpulumi new
on Azure DevOps.
When I run pulumi new https://<org>@dev.azure.com/<org>/....
I always get "error: repository not found".
Running git clone
with this URL works fine. Is Azure DevOps not supported? Does anyone have experience with hosting a template on Azure DevOps?chilly-hospital-92934
02/17/2021, 1:59 PMimport pulumi_terraform as terraform
network_state = terraform.state.RemoteStateReference('network',
backend_type='local',
args=terraform.state.LocalBackendArgs(path='terraform.tfstate'))
output_map = network_state.get_output('output_map')
then I would like to base on output_map in loop:
for key, properties in output_map.items():
pulumi_provider1(properties['value1'])
pulumi_provider2(properties['value2'])
...
but it's not possible because output_map is a object.
TypeError: 'Output' object is not callable
I have seen https://www.pulumi.com/docs/guides/adopting/from_terraform/#referencing-terraform-state but here is only the basic usage of output values.
It is possible to convert this object to dict or something like that?adamant-translator-31969
02/17/2021, 4:42 PMError: invocation of aws:rds/getEngineVersion:getEngineVersion returned an error: 1 error occurred:
* error configuring Terraform AWS Provider: Error creating AWS session: SharedConfigErr: only one credential type may be specified per profile: source profile, credential source, credential process, web identity token, or sso
early-motorcycle-69706
02/17/2021, 6:22 PMpanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x19d07fb]
....
Exception: invocation of kubernetes:kustomize:directory returned an error: transport is closing
Running with kuztomize
works fine.early-motorcycle-69706
02/17/2021, 6:35 PMcluster.kubeconfig
and cluster.provider
don't work. Is there updated docs?
Note: I am doing this with gcp and not aws. I guess I'm wondering what the equivalent is for gcp.container.Cluster
clever-plumber-29709
02/17/2021, 6:49 PMbored-oyster-3147
02/17/2021, 6:51 PMPulumi.Stack
implementation to take in an Input
? This is separate from config
because this is a value that will be different everytime up
is called in our CI/CD (it is a build number)gentle-monitor-55086
02/17/2021, 9:37 PMproud-hair-78501
02/17/2021, 11:44 PMproud-hair-78501
02/17/2021, 11:45 PMbrash-terabyte-57605
02/18/2021, 2:46 AMshy-football-10348
02/18/2021, 3:36 AMstraight-cartoon-24485
02/18/2021, 4:44 AMambitious-optician-69807
02/18/2021, 8:25 AMambitious-optician-69807
02/18/2021, 8:27 AMambitious-optician-69807
02/18/2021, 8:32 AMpulumi new aws-typescript
required me to login. After read a little about project and stack, my understanding is that I’m uploading data to pulumi.com in order to use the tool. I don’t understand why. I’m using aws cdk now. It is a pure tool. So Pulumi is a service?ambitious-optician-69807
02/18/2021, 8:32 AMpulumi new aws-typescript
required me to login. After read a little about project and stack, my understanding is that I’m uploading data to pulumi.com in order to use the tool. I don’t understand why. I’m using aws cdk now. It is a pure tool. So Pulumi is a service?red-football-97286
02/18/2021, 9:48 AMTo use Pulumi without pulumi.com, log in usingBit more info here, https://www.pulumi.com/docs/intro/concepts/state/.or by logging in to an alternative backend.pulumi login --local
brave-planet-10645
02/18/2021, 9:57 AMambitious-optician-69807
02/18/2021, 5:32 PM