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

Autodeploy deploying into wrong account #25

Open
dhoulker opened this issue Oct 15, 2024 · 1 comment
Open

Autodeploy deploying into wrong account #25

dhoulker opened this issue Oct 15, 2024 · 1 comment

Comments

@dhoulker
Copy link

dhoulker commented Oct 15, 2024

I've raised this in Discord, but raising here as well incase any else has the same problem and can help.

We are running into a strange issue with autodeploy. We have 4 environments, mapped to 3 AWS accounts (pr's and dev go to dev account) When we merge into production, the deploy runs, but it deploys into the dev account. I think my SST config is correct as i can see sst deploy --stage prd running in the logs when i merge into prod branch.

In the screenshot, you can see the 4 environments, but prd deploy does not deploy to expected account. I'm sure i'm missing something obvious here, how can i debug it?

image

You can see below the merge into production triggers sst deploy --stage prd

I'm sure i'm doing something wrong, but i'm not sure how to debug this further, does anyone have idea what could be going wrong or steps i can follow to find out whats happening?

image

image

Thanks!

@jayair
Copy link
Contributor

jayair commented Oct 18, 2024

Following up there for now

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