-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_lambda_event_source_mapping: Add Kafka config blocks + consumer_group_id #26560
Conversation
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.
Welcome @A122943 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Does anyone know why dependency checks / |
Hey @A122943 👋 Thank you for your contribution! I believe that the failing check was something on our end. If you rebase, it should clear up the failing check. |
Hi @justinretzolk! That worked, thank you 😃 I'm happy to answer any questions you or another maintainer might have about these changes. |
…g' to 'amazon_managed_kafka_event_source_config'.
… to 'self_managed_kafka_event_source_config'.
…fka_event_source_config' and 'self_managed_kafka_event_source_config'.
…ged_kafka_event_source_config' and 'self_managed_kafka_event_source_config'.
…rce_config' Computed. Acceptance test output: % make testacc TESTARGS='-run=TestAccLambdaEventSourceMapping_selfManagedKafka' PKG=lambda ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 20 -run=TestAccLambdaEventSourceMapping_selfManagedKafka -timeout 180m === RUN TestAccLambdaEventSourceMapping_selfManagedKafka === PAUSE TestAccLambdaEventSourceMapping_selfManagedKafka === RUN TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig === PAUSE TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig === CONT TestAccLambdaEventSourceMapping_selfManagedKafka === CONT TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig --- PASS: TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig (53.85s) --- PASS: TestAccLambdaEventSourceMapping_selfManagedKafka (59.01s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 62.775s
…ource_config' Computed. Acceptance test output: % make testacc TESTARGS='-run=TestAccLambdaEventSourceMapping_msk' PKG=lambda ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 20 -run=TestAccLambdaEventSourceMapping_msk -timeout 180m === RUN TestAccLambdaEventSourceMapping_msk === PAUSE TestAccLambdaEventSourceMapping_msk === RUN TestAccLambdaEventSourceMapping_mskWithEventSourceConfig === PAUSE TestAccLambdaEventSourceMapping_mskWithEventSourceConfig === CONT TestAccLambdaEventSourceMapping_msk === CONT TestAccLambdaEventSourceMapping_mskWithEventSourceConfig --- PASS: TestAccLambdaEventSourceMapping_mskWithEventSourceConfig (3481.30s) --- PASS: TestAccLambdaEventSourceMapping_msk (3638.39s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 3642.258s
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccLambdaEventSourceMapping_msk' PKG=lambda
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 20 -run=TestAccLambdaEventSourceMapping_msk -timeout 180m
=== RUN TestAccLambdaEventSourceMapping_msk
=== PAUSE TestAccLambdaEventSourceMapping_msk
=== RUN TestAccLambdaEventSourceMapping_mskWithEventSourceConfig
=== PAUSE TestAccLambdaEventSourceMapping_mskWithEventSourceConfig
=== CONT TestAccLambdaEventSourceMapping_msk
=== CONT TestAccLambdaEventSourceMapping_mskWithEventSourceConfig
--- PASS: TestAccLambdaEventSourceMapping_mskWithEventSourceConfig (3481.30s)
--- PASS: TestAccLambdaEventSourceMapping_msk (3638.39s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 3642.258s
% make testacc TESTARGS='-run=TestAccLambdaEventSourceMapping_selfManagedKafka' PKG=lambda
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 20 -run=TestAccLambdaEventSourceMapping_selfManagedKafka -timeout 180m
=== RUN TestAccLambdaEventSourceMapping_selfManagedKafka
=== PAUSE TestAccLambdaEventSourceMapping_selfManagedKafka
=== RUN TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig
=== PAUSE TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig
=== CONT TestAccLambdaEventSourceMapping_selfManagedKafka
=== CONT TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig
--- PASS: TestAccLambdaEventSourceMapping_selfManagedKafkaWithEventSourceConfig (53.85s)
--- PASS: TestAccLambdaEventSourceMapping_selfManagedKafka (59.01s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 62.775s
% make testacc TESTARGS='-run=TestAccLambdaEventSourceMapping_SQS_' PKG=lambda ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 3 -run=TestAccLambdaEventSourceMapping_SQS_ -timeout 180m
=== RUN TestAccLambdaEventSourceMapping_SQS_basic
=== PAUSE TestAccLambdaEventSourceMapping_SQS_basic
=== RUN TestAccLambdaEventSourceMapping_SQS_batchWindow
=== PAUSE TestAccLambdaEventSourceMapping_SQS_batchWindow
=== RUN TestAccLambdaEventSourceMapping_SQS_changesInEnabledAreDetected
=== PAUSE TestAccLambdaEventSourceMapping_SQS_changesInEnabledAreDetected
=== RUN TestAccLambdaEventSourceMapping_SQS_filterCriteria
=== PAUSE TestAccLambdaEventSourceMapping_SQS_filterCriteria
=== CONT TestAccLambdaEventSourceMapping_SQS_basic
=== CONT TestAccLambdaEventSourceMapping_SQS_changesInEnabledAreDetected
=== CONT TestAccLambdaEventSourceMapping_SQS_filterCriteria
--- PASS: TestAccLambdaEventSourceMapping_SQS_changesInEnabledAreDetected (93.91s)
=== CONT TestAccLambdaEventSourceMapping_SQS_batchWindow
--- PASS: TestAccLambdaEventSourceMapping_SQS_basic (114.10s)
--- PASS: TestAccLambdaEventSourceMapping_SQS_batchWindow (66.82s)
--- PASS: TestAccLambdaEventSourceMapping_SQS_filterCriteria (188.58s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 192.527s
@A122943 Thanks for the contribution 🎉 👏. |
@ewbankkit A huge thanks for polishing and merging this PR :-) I have one question:
Consumer_group_id should be specifiable upon creation of the resource. But in the docs, I read that
Thank you -- just double checking 🦅 |
@A122943 You are correct that an attribute marked with just |
This functionality has been released in v4.29.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #26559
Output from acceptance testing: