Skip to content

Override the default deployment bucket name #236

Open

Description

@nharlow89

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions