Skip to content

Keep or ditch locationconstraint for bucket create? #95

@sckott

Description

@sckott

With newer version of paws paws-r/paws#900 i had to remove the LocationConstraint param I was using in our bucket create function. I don't know why we originally used it, so perhaps it's not needed anyway, but it's removed on the cookbook-six branch and may merge to dev soon

aws_bucket_create <- function(bucket, ...) {
  bucket_checks(bucket)
  con_s3()$create_bucket(
    Bucket = bucket,
    CreateBucketConfiguration =
      list(LocationConstraint = env_var("AWS_REGION")), ...
  )$Location
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions