modern-quill-17695
07/20/2022, 10:38 PMdry-answer-66872
07/21/2022, 6:23 AMaws eks list-clusters
option in AWS (https://docs.aws.amazon.com/cli/latest/reference/eks/list-clusters.html)
Do we have a similar in Pulumi? I could see getcluster and getclusters (https://www.pulumi.com/registry/packages/aws/api-docs/eks/) but here we need to provide the cluster name.few-yacht-11623
07/21/2022, 1:56 PMnpm install
to update it. It fixed up a conflict with ts-node
, but now when I run pulumi to preview one of my stacks I get:
error: Running program '/Users/mbusby/dev/kojo-web-infra' failed with an unhandled exception:
TSError: ⨯ Unable to compile TypeScript:
stacks/dev/busby/index.ts(3,36): error TS2554: Expected 1 arguments, but got 2.
The line in question is creating a custom component:
import { DevEBEnv } from '../../../components/DevEBEnv';
new DevEBEnv('kojo-web-dev-busby', { ... }); // <-- this line errors
which is defined like:
export class DevEBEnv extends pulumi.ComponentResource {
constructor(name: `kojo-${string}-dev-${string}`, opts: DevEBEnvOptions) {
I can’t see why this would be erroring. So I think somehow this change in installed ts-node
version is breaking the compilation, not sure why, anyone have ideas on how to debug this?broad-parrot-78298
07/21/2022, 9:46 PMps axu --forrest
looks like this
azureus+ 11707 11.1 0.2 1082492 80860 ? Ssl 21:03 2:24 \_ /usr/local/bin/pulumi-kubernetes-operator --zap-level=error --zap-time-encoding=iso8601
azureus+ 32037 9.3 0.1 753864 63388 ? Sl 21:24 0:00 \_ pulumi up --yes --skip-preview --exec-kind=auto.local --exec-agent=pulumi-kubernetes-operator/v1.6.0-a8c9e89 --stack REDACTED --non-interactive
azureus+ 32063 0.5 0.0 717528 20020 ? Sl 21:24 0:00 | \_ /usr/bin/pulumi-language-go -root=/tmp/pulumi_auto2129071416/hack/pulumi/REDACTED 127.0.0.1:41789
azureus+ 32175 0.0 0.0 1527900 22928 ? Sl 21:24 0:00 | | \_ /usr/local/go/bin/go run /tmp/pulumi_auto2129071416/hack/pulumi/azure/postgresdb
azureus+ 32088 124 1.2 1099896 399404 ? Sl 21:24 0:02 | \_ /home/pulumi-kubernetes-operator/.pulumi/plugins/resource-azure-native-v1.64.1/pulumi-resource-azure-native 127.0.0.1:41789
azureus+ 32153 0.0 0.0 726880 29356 ? Sl 21:24 0:00 | \_ /home/pulumi-kubernetes-operator/.pulumi/plugins/resource-random-v4.8.0/pulumi-resource-random 127.0.0.1:41789
azureus+ 32163 0.0 0.1 759624 59440 ? Sl 21:24 0:00 | \_ /home/pulumi-kubernetes-operator/.pulumi/plugins/resource-kubernetes-v3.19.2/pulumi-resource-kubernetes 127.0.0.1:41789
azureus+ 32049 3.5 0.0 0 0 ? Z 21:24 0:00 \_ [pulumi-resource] <defunct>
azureus+ 32143 38.0 0.2 753928 70156 ? Sl 21:24 0:00 \_ pulumi stack history --json --show-secrets --page-size 1 --page 1 --stack REDACTED --non-interactive
After the completion of the stack “up” (which is successful) we see:
azureus+ 11707 11.1 0.1 1082492 63332 ? Ssl 21:03 2:24 \_ /usr/local/bin/pulumi-kubernetes-operator --zap-level=error --zap-time-encoding=iso8601
azureus+ 32063 0.1 0.0 0 0 ? Z 21:24 0:00 \_ [pulumi-language] <defunct>
azureus+ 32088 28.2 0.0 0 0 ? Z 21:24 0:02 \_ [pulumi-resource] <defunct>
azureus+ 32153 0.7 0.0 0 0 ? Z 21:24 0:00 \_ [pulumi-resource] <defunct>
azureus+ 32163 3.0 0.0 0 0 ? Z 21:24 0:00 \_ [pulumi-resource] <defunct>
Before long we see many thousands of zombie processes.
Has anyone seen anything similar?little-cartoon-10569
07/21/2022, 10:47 PMpulumi confg set --secret
with a multi-line value? I see the note that it needs to be catted (not echoed?) in via a pipe. But when I do that, only the first line is being encrypted and kept; the rest of the file is ignored.crooked-laptop-67565
07/22/2022, 12:43 AMaws:acm:CertificateValidation
. It just never completes. I've let pulumi up
run for up to 30m and it's just sat there saying "creating". I can't see any open Github issues about this problem. I've tried running with the debug flag, but I don't understand the output. Does anyone have any suggestions?better-activity-84090
07/22/2022, 8:17 AMIdentity
from a Pulumi account ? I’d like to go back to login/password instead of Gitlab SSO, but I can’t find any option for ithundreds-park-36222
07/22/2022, 12:02 PMfull-artist-27215
07/22/2022, 2:47 PMerror: field type "string" does not match property "invalid"
on all these resources, no matter what I seem to do... I can't update them, and I can't delete them. Cranking up the log verbosity doesn't show anything (literally nothing... setting --verbose 10
looks no different than leaving off --verbose
entirely).
I'm at a bit of a loss as to what's going on here... any suggestions?full-zebra-67293
07/22/2022, 5:20 PMbumpy-byte-21437
07/23/2022, 8:04 AMAcrPull
role to the automatically created User Assigned Managed Identity while attaching a acr to aks in azure using the cloud native azure provider?square-ability-48831
07/25/2022, 3:12 AMpulumi resource aws
version - but i can't install v3.30.1 since I'm on a new M1 mac, trying to take over a 1 year old deployment built with intel. is it possible to upgrade it to latest (~5.10.0) and still use the same state file on pulumi.com? I'm trying to avoid needing to manually import everything already deployed. is it possible to get the old stacks updated to the latest aws provider?gorgeous-accountant-60580
07/25/2022, 7:38 AMerror: no resource plugin 'pulumi-resource-foo' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource foo`
Is it necessary to write a fully fledged plugin in order to create a component resource, or am I just doing it wrong?great-sunset-355
07/25/2022, 7:42 AMcustom_key_store
property
Can I extend the existing pulumi.CustomResource
or hack something with resource transformation or do I need to create a Dynamic resource?bumpy-byte-21437
07/25/2022, 7:52 AMripe-greece-78043
07/25/2022, 11:58 AMconst service = new local.Command("getService", {
create: `sleep 10 && kubectl get svc -o=jsonpath='{.items[?(@.metadata.name=="myservice")].status.loadBalancer.ingress[0].hostname}'`,
environment: {
KUBECONFIG: 'config.json',
},
});
prehistoric-ram-58389
07/25/2022, 1:52 PMpulumi up
, without changing anything to ECS Task definition, it is still replaced. Is there anyway to prevent this from happening?red-area-47037
07/25/2022, 1:54 PMglamorous-afternoon-59004
07/25/2022, 2:26 PMprovider = aws.Provider{"privileged:,
assume_role={'role_arn': role_to_assume_arn,
'session_name': 'Test',
},region=aws_config.require('region))
Now I want to use this in my getCallerIdentity
assumedRole = aws.getCallerIdentity(provider=provider).arn. How to do this.
stocky-petabyte-29883
07/25/2022, 5:25 PMaverage-tiger-58107
07/25/2022, 5:49 PMawsx
to deploy fargate services. We have > 100 of these services all coming from the same image, only differing in their runtime arguments.
We create images and push them to ECR using awsx.ecr.Image
. We would rather not redeploy these images to Fargate if the images don't change between runs. The sha256
Id on the docker image is an easy way to verify this. I imagine that our Image
resource gets a new name each time pulumi is run, which could result in Fargate redeploying every time, even when it doesn't need to. Does anybody have experience dealing with this?stale-furniture-67414
07/25/2022, 6:09 PMdelightful-xylophone-3967
07/25/2022, 6:32 PMfamous-lighter-79715
07/25/2022, 6:34 PMancient-solstice-53934
07/25/2022, 6:38 PMrefined-postman-10389
07/26/2022, 12:21 AMpulumi preview
with --target
flags. If a resource is not in the targets list and is not in the dependency path, will its state still be read? I know its state is not included in the CLI output but I'm wondering if it is read at all.red-scooter-62880
07/26/2022, 12:43 AMred-scooter-62880
07/26/2022, 1:51 AMsteep-lamp-20408
07/26/2022, 9:52 AMname: Build staging resources
on:
push:
branches:
- develop
paths-ignore:
- "*.md"
- "*.gitignore"
jobs:
deploy:
name: Build staging resources
runs-on: ubuntu-latest
steps:
- uses: pulumi/actions@v3
with:
command: up
stack-name: tachikoma/tachikoma-backend/staging
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
However, when pushing, I get the following output from GitHub Actions: `stderr: error: no Pulumi.yaml project file found (searching upwards from ). If you have not created a project yet, use pulumi new
to do so`
I don’t get it since I got a Pulumi.yaml file at the root of the project and I’m following the Pulumi GitHub Actions example. What did I got wrong?gorgeous-accountant-60580
07/26/2022, 11:44 AMgorgeous-accountant-60580
07/26/2022, 11:44 AMsteep-lamp-20408
07/26/2022, 11:49 AMgorgeous-accountant-60580
07/26/2022, 11:51 AM