Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

champ-oss/iris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iris

An AWS Lambda function which can proxy healthcheck requests to your internal services

.github/workflows/gotest.yml .github/workflows/golint.yml .github/workflows/sonar.yml .github/workflows/gotest.yml

SonarCloud

Quality Gate Status Vulnerabilities Reliability Rating

Example Usage

Call the Lambda function endpoint and pass a url query parameter with the value of the URL to your internal service.

curl https://example123.lambda-url.us-east-1.on.aws/?url=myservice.lan/healthcheck

The Lambda function will make an HTTP GET request to the url provided and return the HTTP status code. No request body or headers will be passed to the internal service. And no response body or headers from your internal service will be returned from the lambda.

Expected Headers

You can (optionally) set the Terraform variables: expected_header_key and expected_header_value to require the header to be present on every request. For example:

expected_header_key=X-MY-HEADER
expected_header_value=al1s9v8u210vn410vn