worried-engine-19547
12/09/2022, 7:38 PMpulumi up
, I see:
error: could not create stack: provided project name "--PROJECT-" doesn't match Pulumi.yaml
I see the same error when I try to pulumi up
on an existing package as well.
I already configured the credential export AIVEN_TOKEN=XXXXXXXXXXXXXX
which seemed like the only config I needed. What is it that I’m missing with the project name 🤔 ?stocky-restaurant-98004
12/09/2022, 7:54 PMPulumi.yaml
.name: ${PROJECT}
<-- I think that's why it's freaking out.worried-engine-19547
12/09/2022, 7:58 PMname: ${PROJECT}
I created a new folder for the new template, added the files, and then tried pulumi up
in that directory
(only config I did was export AIVEN_TOKEN=XXXXXXXX
)stocky-restaurant-98004
12/09/2022, 7:58 PMpulumi up
directly in the template dir?worried-engine-19547
12/09/2022, 7:59 PMstocky-restaurant-98004
12/09/2022, 7:59 PMpulumi new <https://github.com>......
in order to test.worried-engine-19547
12/09/2022, 8:00 PMpulumi new <https://github.com/dewan-ahmed/pulumi-templates/tree/master/aiven-typescript>
?stocky-restaurant-98004
12/09/2022, 8:00 PMworried-engine-19547
12/09/2022, 8:06 PMpulumi new <https://github.com/dewan-ahmed/pulumi-templates/tree/master/aiven-typescript>
actually asked me about a project name (so no longer complained about the missing $PROJECT), and other details, and then apparently created the resource after I did pulumi up
.
Strangely enough, I don’t see the resource being created on the Aiven console 🤔stocky-restaurant-98004
12/09/2022, 8:15 PMpulumi new /path/to/template
. It does not appear to be documented, but people who know said it works.pulumi refresh
gives you. It'll query for the existence of the resource. It should show no changes.worried-engine-19547
12/09/2022, 9:13 PMDo you want to perform this update? no
resources are created successfully. I’ll send in a few PRs next week 🙌🏽
thanks a bunchstocky-restaurant-98004
12/09/2022, 9:56 PMpulumi up -y
will auto-confirm. (Obviously not recommended for production infra.)worried-engine-19547
12/09/2022, 10:56 PMstocky-restaurant-98004
12/10/2022, 3:47 PMworried-engine-19547
12/12/2022, 12:28 PM