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

Error when creating S3 bucket #102

Open
krjackso opened this issue Nov 17, 2015 · 0 comments
Open

Error when creating S3 bucket #102

krjackso opened this issue Nov 17, 2015 · 0 comments
Labels

Comments

@krjackso
Copy link
Contributor

/lib/s3/S3.rb:56:in `full_bucket': undefined method `location' for nil:NilClass (NoMethodError)
    from /home/keilan/.cumulus/lib/s3/manager/Manager.rb:229:in `update_grants'
    from /home/keilan/.cumulus/lib/s3/manager/Manager.rb:82:in `create'
    from /home/keilan/.cumulus/lib/common/manager/Manager.rb:121:in `sync_difference'
    from /home/keilan/.cumulus/lib/common/manager/Manager.rb:59:in `block in sync_one'
    from /home/keilan/.cumulus/lib/common/manager/Manager.rb:78:in `call'
    from /home/keilan/.cumulus/lib/common/manager/Manager.rb:78:in `block in each_difference'
    from /home/keilan/.cumulus/lib/common/manager/Manager.rb:76:in `each'
    from /home/keilan/.cumulus/lib/common/manager/Manager.rb:76:in `each_difference'
    from /home/keilan/.cumulus/lib/common/manager/Manager.rb:59:in `sync_one'
    from /home/keilan/.cumulus/bin/cumulus.rb:289:in `s3'
    from /home/keilan/.cumulus/bin/cumulus.rb:636:in `<main>'

It created the bucket but the grants were wrong. The config I used was like:

{
  "region": "us-east-1",
  "permissions": {
    "grants": [
      {
        "name": "lucidchart",
        "id": "idhere",
        "permissions": [
          "all"
        ]
      }
    ]
  },
  "versioning": false,
  "tags": {

  }
}
@msiebert msiebert added the s3 label May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants