https://pulumi.com logo
n

nice-airport-15607

09/17/2019, 10:33 PM
Hello 👋 Pulumers! I’m running into this error
Copy code
error: could not get cloud url: could not load current project: yaml: unmarshal errors:
  line 5: cannot unmarshal !!map into string
and wondering anyone else has seen this before?
g

gentle-diamond-70147

09/17/2019, 10:35 PM
Seems like your stack configuration file might be malformed - e.g.
Pulumi.dev.yaml
.
👀 1
n

nice-airport-15607

09/17/2019, 10:40 PM
yep that was it, ok thx @gentle-diamond-70147
👍 1
g

gentle-diamond-70147

09/17/2019, 10:41 PM
Mind sharing what was malformed? I think we can do a better job with that error message.
n

nice-airport-15607

09/17/2019, 10:42 PM
so i had some default configs in
Pulumi.yaml
that weren’t correct.
Copy code
password:
    secure: <pass>
☝️ i think that’s what it was
configs in that file caused the errors
g

gentle-diamond-70147

09/17/2019, 10:43 PM
Got it. Thanks.
n

nice-airport-15607

09/17/2019, 10:48 PM
thank you
g

gentle-diamond-70147

09/17/2019, 10:53 PM
Are you using a different backend then app.pulumi.com? The S3 one or something else? I don't get the same error when i put that
password: ...
in my
Pulumi.dev.yaml
.
n

nice-airport-15607

09/17/2019, 10:54 PM
correct, using S3
so something like
pulumi login s3://pulumi-<aws-accountid>-us-east-1/stack