Skip to content

kinto-technologies/techblog-s3-sequencer-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kinto-technologies/techblog-s3-sequencer-example

This repository contains the code for the blog post データ競合を気にしながらS3イベントを処理してみた 〜Rust・Lambda・DynamoDBを添えて〜

Requirements

Getting Started

  • Clone the repository

    git clone https://github.com/kinto-technologies/techblog-s3-sequencer-example.git
  • Change directory to the repository

    cd techblog-s3-sequencer-example/terraform
  • Edit the providers.tf file and update the region, profile and bucket values with your desired values.

    provider "aws" {
      region  = "** INPUT HERE **"
      profile = "** INPUT HERE **"
    }
    
    terraform {
      required_providers {
        aws = {
          source  = "hashicorp/aws"
          version = "~> 5.75.1"
        }
      }
    
      backend "s3" {
        bucket  = "** INPUT HERE **"
        key     = "terraform.tfstate"
        region  = "** INPUT HERE **"
        profile = "** INPUT HERE **"
      }
    }
  • Edit the variables.tf file and update the resource_prefix value with your desired prefix.

    variable "rust_src_path" {
      default = "../lambda"
    }
    
    variable "lambda_zip_local_path" {
      default = "lambda.zip"
    }
    
    variable "resource_prefix" {
      default = "** INPUT HERE **"
    }
  • Run the following commands to create the resources

    terraform init
    terraform apply

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published