-
Notifications
You must be signed in to change notification settings - Fork 30
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
test: rework smoketests and improve usability #508
Conversation
always tee to tf.log improve folder name and move smoketest under testing remove smokedir, we only have one smoketest move function under smoketest
testing/smoketest/main.tf
Outdated
@@ -44,7 +44,7 @@ resource "aws_iam_role" "lambda" { | |||
|
|||
data "archive_file" "lambda" { | |||
type = "zip" | |||
source_file = "../testdata/function/index.js" | |||
source_file = "./function/index.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we reuse https://github.com/elastic/apm-aws-lambda/tree/main/testing/tf-modules/lambda_deployment instead of having a separate custom module for smoketest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll open a followup for this so the ebpf team can pick it up
As far as I see these changes need to be reflected in the existing OIDC settings, otherwise:
I'm gonna fix this |
always tee to tf.log
improve folder name and move smoketest under testing remove smokedir, we only have one smoketest
move function under smoketest
Closes #435