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

No export named dev-ExtAttachmentsBucketArn #1

Open
alex-dixon opened this issue Dec 19, 2019 · 4 comments
Open

No export named dev-ExtAttachmentsBucketArn #1

alex-dixon opened this issue Dec 19, 2019 · 4 comments

Comments

@alex-dixon
Copy link

Hi. Not sure if I'm doing something wrong but got this after cd services/auth && sls deploy.

sls deploy
Serverless: Packaging service...
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
.....
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
...
Serverless: Operation failed!
Serverless: View the full error output: https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A892036928957%3Astack%2Fnotes-app-ext-auth-dev%2F7eca0600-21f3-11ea-ab9d-0ed5acf75591

  Serverless Error ---------------------------------------

  An error occurred: notes-app-ext-auth-dev - No export named dev-ExtAttachmentsBucketArn found.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              10.16.0
     Serverless Version:        1.49.0
     Enterprise Plugin Version: 1.3.6
     Platform SDK Version:      2.1.0
@jayair
Copy link
Member

jayair commented Jan 19, 2020

Are you following the guide for these?

@alex-dixon
Copy link
Author

I think at the time I was following the README. It says to cd to a services folder and run sls deploy.

@jayair
Copy link
Member

jayair commented Jan 26, 2020

Yeah they are a part of the guide. We didn't really detail all the steps in the README.

https://serverless-stack.com/chapters/best-practices-for-building-serverless-apps.html

@alex-dixon
Copy link
Author

Ah hah! There are dependencies within the infrastructure services, not just between API and infra.

In our resources repo we need to:

Deploy the database and uploads service. These can be deployed concurrently.
Then we can deploy the auth service.

https://serverless-stack.com/chapters/deploy-a-serverless-app-with-dependencies.html

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