pulumi / circleci

CircleCI Orbs for CI/CD using Pulumi.
Apache License 2.0
20 stars 15 forks source link

Read backend-url from Pulumi.yaml in login command #46

Open ProdigySim opened 2 years ago

ProdigySim commented 2 years ago

Hello!

Issue details

Pulumi supports having backend defined in Pulumi.yaml.

backend:
  url: s3://my-backend

This is really great, since it ensures developers will log in to the correct backend for the project. However, this pulumi orb does not read from this configuration, so I have to duplicate this setting in my .circleci/config.yml.

It would be nice if pulumi/login could read from this value if no cloud-url is specified.

Affected area/feature

Login command