Coder Social home page Coder Social logo

aws-sink's Introduction

AWS Sink

AWS Sink is a traefik plugin that enable us to define a route to put data in S3 or dynamodb (not yet implemented) when traefik is deployed in ECS.

HTTP Verb Methods

Use the PUT verb if you want to put an exact filename. POST will append a UUID to the path.

Example configuration

traefik.yml

providers:
  ecs:
    exposedByDefault: false

experimental:
  plugins:
    aws-sink:
      moduleName: github.com/yoeluk/aws-sink
      version: v0.1.2

ecs task labels (only showing the most pertinent ecs task docker labels)

dockerLabels = {
    "traefik.enable" : "true"
    "traefik.http.routers.awssink.service" : "noop@internal"
    "traefik.http.routers.awssink.rule" : "Host(`awssink.myhostexample.io`)"
    "traefik.http.routers.awssink.middlewares" : "awssink"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.sinkType" : "s3"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.bucket" : "devjam-yoel"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.region" : "us-west-2"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.prefix" : "data"
}

aws-sink's People

Contributors

yoeluk avatar

Stargazers

Matthew Helmer avatar Marcin Bielak avatar

Watchers

 avatar

Forkers

jasongoodwin

aws-sink's Issues

[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.

Cause:

failed to run the plugin with Yaegi: the load of the plugin takes too much time(10s), or an error, inside the plugin, occurs during the load: 1:21: import "github.com/yoeluk/aws-sink" error: /tmp/traefik-plugin-gop84092858/src/github.com/yoeluk/aws-sink/sink.go:7:2: import "github.com/yoeluk/aws-sink/local" error: /tmp/traefik-plugin-gop84092858/src/github.com/yoeluk/aws-sink/local/local.go:8:2: import "github.com/google/uuid" error: unable to find source related to: "github.com/google/uuid"

Traefik Plugin Analyzer will restart when you will close this issue.

If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.

Cause:

missing manifest: GET https://api.github.com/repos/yoeluk/aws-sink/contents/.traefik.yml?ref=v0.1.0: 404 Not Found []

Traefik Plugin Analyzer will restart when you will close this issue.

If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.

Cause:

failed to run the plugin with Yaegi: the load of the plugin takes too much time(10s), or an error, inside the plugin, occurs during the load: 1:21: import "github.com/yoeluk/aws-sink" error: /tmp/traefik-plugin-gop1224828081/src/github.com/yoeluk/aws-sink/sink.go:7:2: import "github.com/yoeluk/aws-sink/local" error: /tmp/traefik-plugin-gop1224828081/src/github.com/yoeluk/aws-sink/local/local.go:8:2: import "github.com/oklog/ulid/v2" error: unable to find source related to: "github.com/oklog/ulid/v2"

Traefik Plugin Analyzer will restart when you will close this issue.

If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.

Cause:

failed to run the plugin with Yaegi: failed to create a new plugin instance: couldn't start the sink plugin with config: &{5     }

Traefik Plugin Analyzer will restart when you will close this issue.

If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.