Skip to content

Scheduled go lambda function to rotate Electronic Tariff Files.

License

Notifications You must be signed in to change notification settings

trade-tariff/trade-tariff-lambdas-electronic-tariff-file-rotations

Repository files navigation

tariff-lambdas-electronic-tariff-file-rotations

Scheduled go lambda function to rotate reports in the reporting bucket (including the Electronic Tariff files).

sequenceDiagram
  participant Scheduler as Scheduler
  participant Lambda as Lambda
  participant AWS S3 Bucket as AWS S3 Bucket

  Scheduler->>Lambda: Trigger at 08:00 AM
  Lambda->>AWS S3 Bucket: Perform ListObjectV2 on bucket files
  Lambda->>Lambda: Extract candidates for deletion
  Lambda->>AWS S3 Bucket: Perform DeleteObject on candidate files
Loading

License

MIT License

About

Scheduled go lambda function to rotate Electronic Tariff Files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •