Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.56 KB

File metadata and controls

41 lines (34 loc) · 1.56 KB

embedded-localstack

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-localstack</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • embedded.localstack.enabled (true|false, default is true)

  • embedded.localstack.reuseContainer (true|false, default is false)

  • embedded.localstack.services (comma separated list of AWS services (S3, SQS, DYNAMODB, etc. Should be non empty)

  • embedded.localstack.dockerImage (default is 'localstack/localstack:4.0.3')

  • embedded.localstack.useSsl (default is false)

  • embedded.localstack.hostname (default is 'localhost')

  • embedded.localstack.hostnameExternal (default is 'localhost')

  • embedded.localstack.edgePort (default is '4566')

  • embedded.toxiproxy.proxies.localstack.enabled Enables both creation of the container with ToxiProxy TCP proxy and a proxy to the embedded-localstack container.

Produces

  • embedded.localstack.host

  • embedded.localstack.accessKey

  • embedded.localstack.secretKey

  • embedded.localstack.{service} (service endpoint for connection)

  • embedded.localstack.{service}.port (mapped port for connection)

  • embedded.localstack.toxiproxy.host

  • embedded.localstack.toxiproxy.port

  • embedded.localstack.networkAlias

  • embedded.localstack.internalEdgePort

  • Bean ToxiproxyContainer.ContainerProxy localstackContainerProxy