OK, so it's not actually a C# programme, it's just...
# getting-started
s
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
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
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
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
AFAIK it's an individual account, and the credentials have been passed to me
b
okay, you'll need to do
pulumi login
first and authenticate
s
that seems to somehow have been done already!
b
awesome, try running
pulumi preview
on one of the stacks once you've authenticated to Azure
s
So why wouldn't I just write a script for AzureCLI?