Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a new LocalStack session #1210

Closed
wants to merge 1 commit into from

Conversation

blairham
Copy link

@blairham blairham commented Dec 3, 2022

Description

Issues related

Pull Requests related

This adds a new create session that points to the URL specified in the env variable TERRATEST_LOCALSTACK. Since we don't need any credentials with LocalStack, we assume some random credentials and use the rest of Terratest. This was inspired by @ffernandezcast PR and the comments in it. This should be a much simpler approach and much more maintainable, which was one of the questions made by @brikis98

Usage

define the env var TERRATEST_LOCALSTACK

TERRATEST_LOCALSTACK=http://localhost:4566

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added support for custom AWS Endpoint.

@blairham blairham closed this Dec 3, 2022
@blairham blairham changed the title Creating a new LocalStack session if the env var TERRATEST_LOCALSTACK is Creating a new LocalStack session Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant