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

AWS resources are created without the project prefix #74

Open
esseswann opened this issue Aug 29, 2022 · 1 comment
Open

AWS resources are created without the project prefix #74

esseswann opened this issue Aug 29, 2022 · 1 comment

Comments

@esseswann
Copy link
Contributor

When using AWS SQS client the queue created lacks the project prefix. Might be the case for all AWS compatible resources that use non-yc SDK

@nikolaymatrosov
Copy link
Contributor

It is worth to be fixed for queues. But it might not be accurate for buckets. As their names are used as globally unique identifiers, it is more obvious to define them explicitly. Also, another case related to bucket names: if a bucket is used to store a static site, the bucket name should match the site's domain name. So implicit changes could break the rule. If you need to define bucket names based on the project name, you should use the variable interpolation serverless framework provides. E.g.

resources:
 SomeBucket:
   type: yc::ObjectStorageBucket
   name: '${self:service}-bucket'

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