GithubHelp home page GithubHelp logo

tflambdatestv2's Introduction

Terraform Lambda Testing v2

Testing deploying Lambda Functions using Terraform, and also setting up Splunk APM (formerly known as SignalFx).

Deploys multiple Lambda Functions, which make up a small example micro-services application.

terraform.tfvars

Rename 'terraform.tfvars.example' to 'terraform.tfvars' and update the values with your unique settings. The AWS Variables assume you have aws cli configured and have a credentials file, typically located in ~/.aws

'profile' is the name of the aws profile from your ~/.aws/credentials file which tells the AWS CLI which account / environment to use.

'SFx Variables' are used to link to your SignalFx environment for APM

'Function URLs' point to the location of the source code for the Lambda Functions

### AWS Variables ###
profile = "xxx"
#region = "2"

### SFx Variables ###
access_token = "xxx"
realm = "eu0"
metrics_url = "https://ingest.eu0.signalfx.com"
metrics_tracing = "https://ingest.eu0.signalfx.com/v2/trace"
apm_environment = "https://ingest.eu0.signalfx.com/v2/trace"

### Function URLs ###
### If populated here, will override the default values listed in variables.tf ###
function_one_url = "tbc"
function_two_url = "tbc"

Deployment

Run the following commands - has been tested with terraform v0.13.4

terraform init
terraform apply

tflambdatestv2's People

Contributors

geoffhigginbottom avatar

Watchers

 avatar

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.