From c94dfc4c991fa816a924794432ed9771651da5b0 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 14 Aug 2025 22:51:53 +0200 Subject: [PATCH] chore(pulumi): add command for reference --- snippets/pulumi/commands.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snippets/pulumi/commands.fish b/snippets/pulumi/commands.fish index c8ae3ca..3fbb561 100644 --- a/snippets/pulumi/commands.fish +++ b/snippets/pulumi/commands.fish @@ -63,10 +63,12 @@ pulumi state rename -y 'urn:pulumi:dev::custom-images::aws:imagebuilder/imageRec pulumi state edit EDITOR='vim' pulumi state edit +find . -type f -name Pulumi.yaml -not -path "*/node_modules/*" -print | tee | xargs -n1 dirname | tee | xargs -n1 -tI '%%' pulumi -C '%%' install + find '.' -type f -name 'Pulumi.yaml' -not -path "*/node_modules/*" -print -exec yq '.backend.url' {} '+' find '.' -type f -name 'Pulumi.yaml' -not -path "*/node_modules/*" -exec dirname {} + | xargs -pn '1' pulumi install --cwd -find '.' -type f -name 'Pulumi.yaml' -not -path "*/node_modules/*" -exec dirname {} + | xargs -pn '1' pulumi preview --parallel "$(nproc)" --cwd +find '.' -type f -name 'Pulumi.yaml' -not -path "*/node_modules/*" -exec dirname {} + | xargs -pn '1' pulumi preview --parallel "$(nproc)" --suppress-outputs --cwd find '.' -type f -name 'Pulumi.yaml' -not -path "*/node_modules/*" -exec dirname {} + | xargs -pn '1' pulumi refresh --parallel "$(nproc)" -s 'dev' --non-interactive -v '3' --cwd # View the selected stack