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

Override the default deployment bucket name #236

Open
nharlow89 opened this issue Aug 13, 2020 · 0 comments
Open

Override the default deployment bucket name #236

nharlow89 opened this issue Aug 13, 2020 · 0 comments

Comments

@nharlow89
Copy link

Looks like we do not have any control over the cloud storage bucket for deployments. Parameterizing this would give user's finer control over IAM policies and permissions. For example, current deployments require storage.objects.get, storage.objects.list, storage.objects.create, & storage.objects.delete permissions. I would like to limit these permissions to a pre-defined bucket.

const name = `sls-${service}-${stage}-${timestamp}`;

this.serverless.service.provider.deploymentBucketName = name;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants