-
Notifications
You must be signed in to change notification settings - Fork 117
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
Make terraform outputs available as variables in tests #703
Comments
Take a look at Localstack and see if it will cover this without needing real AWS resources https://docs.localstack.cloud/user-guide/aws/s3/ |
@bhapas has been doing some experimentation. A few key learning points have been:
Footnotes |
I think there are three independent issues to solve to be able test integrations the use the aws-s3 input in SQS mode.
The ordering above is semi-relevant. By adding the Terraform outputs feature first we can enable aws-s3 testing against real AWS services. Next only if we can use Terraform and Docker together will we need the input to support the localstack queue_url. |
The primary goal of this issue was to be able to enable terraform outputs for system test config. An additional issue has been created to track the testing against localstack - elastic/beats#35758 and related issue #1302 to support creation of localstack service along with terraform service. |
A bug was identified in the solution and fixed with #1299 |
This is a feature request to make the data from
terraform outputs -json
available in system tests. An example use case is a test that creates an S3 bucket and SQS topic and needs information about those resources in the test case.And then be able to reference those values in some way in test parameters.
The text was updated successfully, but these errors were encountered: