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

r/aws_kinesis_firehose_delivery_stream - Send defaults for BufferIntervalInSeconds and BufferSizeInMBs #26964

Conversation

mtt88
Copy link
Contributor

@mtt88 mtt88 commented Sep 23, 2022

When updating the BufferIntervalInSeconds or BufferSizeInMBs processor parameters on a kinesis_firehose_delivery_stream , if we wish to change only one of these parameters then we no longer need to set the other to it's 'default' value.

Not really a bug but due to requirement by the API to set both of these parameters it will cause an annoying perpetual drift if only one of these parameters needs to be updated as the other must be set to it's default value. See linked issue for more details on this behaviour.

Priority: low

Relates #9827

Output from acceptance testing:

make testacc TESTS=TestAccFirehoseDeliveryStream_extendedS3Updates PKG=firehose
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/firehose/... -v -count 1 -parallel 20 -run='TestAccFirehoseDeliveryStream_extendedS3Updates'  -timeout 180m
=== RUN   TestAccFirehoseDeliveryStream_extendedS3Updates
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3Updates
=== CONT  TestAccFirehoseDeliveryStream_extendedS3Updates
--- PASS: TestAccFirehoseDeliveryStream_extendedS3Updates (551.16s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/firehose   551.213s
...

…rvalInSeconds

and BufferSizeInMBs

Send default processor parameter values to remove requirement to set
both 'BufferSizeInMBs' and 'BufferIntervalInSeconds' even if one is
using the default value.
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Please review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. size/L Managed by automation to categorize the size of a PR. service/firehose Issues and PRs that pertain to the firehose service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Sep 23, 2022
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Sep 28, 2022
@ameddin73
Copy link
Contributor

ameddin73 commented Dec 19, 2022

@ewbankkit is this being looked at? I'm trying to run the tests to open another PR and this issue is a blocker. PR that is blocked: #28469

@ameddin73
Copy link
Contributor

@mtt88 Were you able to get all tests passing with this? I believe the kinesis firehose testing suite fails due to the dissonance between the resource and default values.

@mtt88
Copy link
Contributor Author

mtt88 commented Dec 20, 2022

@ameddin73 - I'm afraid it's been a while since I looked at this - I'll try and find the time over the next few days to review any failing tests.

Matt

@mtt88
Copy link
Contributor Author

mtt88 commented Dec 23, 2022

@ameddin73 Whilst I've not run the entire test suite, I've run some of the tests which were failing on your branch (ameddin73:main) against this version of the code (mtt88:f-aws-kinesis-firehose-delivery-stream-default-processor-params). These all passed:

make testacc TESTS=TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning PKG=firehose
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/firehose/... -v -count 1 -parallel 20 -run='TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning'  -timeout 180m
=== RUN   TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning
=== CONT  TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning
--- PASS: TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning (1278.61s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/firehose	1282.125s

make testacc TESTS=TestAccFirehoseDeliveryStream_extendedS3Updates PKG=firehose
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/firehose/... -v -count 1 -parallel 20 -run='TestAccFirehoseDeliveryStream_extendedS3Updates'  -timeout 180m
=== RUN   TestAccFirehoseDeliveryStream_extendedS3Updates
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3Updates
=== CONT  TestAccFirehoseDeliveryStream_extendedS3Updates
--- PASS: TestAccFirehoseDeliveryStream_extendedS3Updates (1165.18s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/firehose	1167.475s

make testacc TESTS=TestAccFirehoseDeliveryStream_extendedS3basic PKG=firehose
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/firehose/... -v -count 1 -parallel 20 -run='TestAccFirehoseDeliveryStream_extendedS3basic'  -timeout 180m
=== RUN   TestAccFirehoseDeliveryStream_extendedS3basic
=== PAUSE TestAccFirehoseDeliveryStream_extendedS3basic
=== CONT  TestAccFirehoseDeliveryStream_extendedS3basic
--- PASS: TestAccFirehoseDeliveryStream_extendedS3basic (1042.68s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/firehose	1044.915s

make testacc TESTS=TestAccFirehoseDeliveryStream_basic PKG=firehose
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/firehose/... -v -count 1 -parallel 20 -run='TestAccFirehoseDeliveryStream_basic'  -timeout 180m
=== RUN   TestAccFirehoseDeliveryStream_basic
=== PAUSE TestAccFirehoseDeliveryStream_basic
=== CONT  TestAccFirehoseDeliveryStream_basic
--- PASS: TestAccFirehoseDeliveryStream_basic (1279.84s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/firehose	1282.072s

I've not run the failing Elastic Search or Redshift tests yet so it would be helpful if someone has the ability to run the entire test suite against this branch.

@ewbankkit
Copy link
Contributor

This work has been rolled into #35137.

ewbankkit added a commit to theherk/terraform-provider-aws that referenced this pull request Jan 5, 2024
…StreamConfig_extendedS3UpdatesSetBufferIntervalNoBufferSize' (hashicorp#26964).
ewbankkit added a commit to theherk/terraform-provider-aws that referenced this pull request Jan 5, 2024
@ewbankkit ewbankkit merged commit 9374e69 into hashicorp:main Jan 5, 2024
Copy link

github-actions bot commented Feb 5, 2024

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/firehose Issues and PRs that pertain to the firehose service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants