https://pulumi.com logo
Title
s

stocky-butcher-62635

04/04/2022, 3:53 PM
OK, so it's not actually a C# programme, it's just something for the
pulumi
command to read. And it needs AzureCLI installing So what about the yml files? Thre seems to be some information that's written in C# and some more information that's written in yml?
b

billowy-army-68599

04/04/2022, 3:54 PM
the
Pulumi.yaml
tells the Pulumi CLI some metadata about the project like the language runtime to use (as we support other languages) and a name and description for the project
the
Pulumi.{production|test}.yaml
files are stack configuration, you can read more about this here: https://www.pulumi.com/docs/intro/concepts/stack/
s

stocky-butcher-62635

04/04/2022, 3:58 PM
if I
cd
to that location and
pulumi stack ls
then it says something about the other two yml files and gives URLs for
<http://app.pulumi.com|app.pulumi.com>
, so is the pulumi website involved in this somehow?
b

billowy-army-68599

04/04/2022, 3:58 PM
yes, state is stored in the pulumi service.
there are two types of account: • individual accounts • org accounts (very similar to how github works in terms of orgs)
if the state is stored in an individual account, you'll need to get the original author to transfer it
do you know if your company has an org account at all?
s

stocky-butcher-62635

04/04/2022, 4:10 PM
AFAIK it's an individual account, and the credentials have been passed to me
b

billowy-army-68599

04/04/2022, 4:13 PM
okay, you'll need to do
pulumi login
first and authenticate
s

stocky-butcher-62635

04/04/2022, 4:15 PM
that seems to somehow have been done already!
b

billowy-army-68599

04/04/2022, 4:17 PM
awesome, try running
pulumi preview
on one of the stacks once you've authenticated to Azure
s

stocky-butcher-62635

04/05/2022, 8:15 AM
So why wouldn't I just write a script for AzureCLI?