Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

kronostechnologies/aws-mocks

Repository files navigation

aws-mocks

This project aims at providing endpoints matching AWS API's to be able to test Terraform provisioning and create mock environments. It uses Localstack to mock most services, but adds a OAuth server matching Amazon Cognito User Pools Auth API and support for those services :

  • ACM
  • Cognito-idp
  • EC2
  • KMS
  • Route53

Overview

This is based on Localstack default ports configuration.
From this project:

From Localstack:

Usage

docker run --rm -it kronostechnologies/aws-mocks

Configuration

All the services from this project are started. At the moment this can't be configured. To configure Localstack services, use the SERVICES environment variable. Check Localstack configuration section for more details and other configurations options.

Supported requests

ACM

AutoScaling

Cognito-idp

Cognito User Pool Auth

  • Supports only client_credentials

EC2

ELB

ECS

KMS

Route53

Development

Building the docker image

make build_image

Applying Terraform infrastructure

All the Terraform config is in the test resources folder

  1. Run either the Docker image or the app locally using your IDE
  2. make test_infra

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages