Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide on how to Migrate Pulumi Backend from default local file, e.g. to https://api.pulumi.com #296

Open
ceefour opened this issue Jun 2, 2021 · 0 comments
Assignees

Comments

@ceefour
Copy link

ceefour commented Jun 2, 2021

Webiny by default uses Pulumi local backend.

I have tried following the guide in https://www.pulumi.com/docs/intro/concepts/state/#migrating-between-backends with a bit of modification (https://about.lovia.life/docs/engineering/webiny/).

However, webiny still insists on using local Pulumi backend:

# set PULUMI_ACCESS_TOKEN=.............

D:\project_win\lovia\lovia-webiny>yarn webiny pulumi api --env=dev -- logout
webiny info: Environment provided - selecting dev Pulumi stack.
webiny info: Running the following command in api folder:
webiny info: pulumi logout

D:\project_win\lovia\lovia-webiny>yarn webiny pulumi api --env=dev -- login https://api.pulumi.com     
webiny info: Environment provided - selecting dev Pulumi stack.
webiny info: Running the following command in api folder:
webiny info: pulumi login https://api.pulumi.com
Logged in to pulumi.com as lovia (https://app.pulumi.com/lovia)

D:\project_win\lovia\lovia-webiny>yarn webiny pulumi api --env=dev -- whoami -v        
webiny info: Environment provided - selecting dev Pulumi stack.
webiny info: Running the following command in api folder:
webiny info: pulumi whoami -v
User: DESKTOP-QFAS8L2\ceefour
Backend URL: file://D:/project_win/lovia/lovia-webiny/.pulumi/api

Expands #251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants