Skip to content

4n6ir/flume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flume

What happens when Infrastructure as Code (IaC) is all written in a specific technology, but the pipeline is unavailable for deployments? Security teams do not have a choice requiring an alternative option to contain cloud environments. Enter Cloud Development Kit (CDK), which can generate a stand-alone CloudFormation stack for quick deployment.

Objective

  • Ship Webhook logs to an S3 bucket with an API Gateway broker.

Quick Stack

  1. Download flume.yaml
  2. Check Region
  3. Create Stack
  4. Stack Name
  5. API Gateway Name
  6. Existing S3 Bucket Name
  7. Set Unique Verification Value
  8. Add Tags
  9. Deploy CloudFormation

Broker URL

https://3ta9vobuad.execute-api.us-east-1.amazonaws.com/logs?verify=<VERIFY>

CloudFormation

cdk synth --no-version-reporting --no-path-metadata --no-asset-metadata > flume.yaml

Delete from the Parameters: section of the flume.yaml file.

  BootstrapVersion:
    Type: AWS::SSM::Parameter::Value<String>
    Default: /cdk-bootstrap/4n6ir/version
    Description: Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]

Languages