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 add http_endpoint_configuration #15356

Merged
merged 17 commits into from
Nov 6, 2020
Merged

r/aws_kinesis_firehose_delivery_stream add http_endpoint_configuration #15356

merged 17 commits into from
Nov 6, 2020

Conversation

ZsoltPath
Copy link
Contributor

Community Note

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

Closes #14469

Release note for CHANGELOG:

resource/aws_kinesis_firehose_delivery_stream add http_endpoint_configuration 

@ghost ghost added size/XL Managed by automation to categorize the size of a PR. dependencies Used to indicate dependency changes. service/firehose Issues and PRs that pertain to the firehose service. labels Sep 25, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Sep 25, 2020
@github-actions
Copy link

Thank you for your contribution! 🚀

Please note that typically Go dependency changes are handled in this repository by Renovate Bot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the go.mod, go.sum, and vendor/ files and commit them into this pull request.

Additional details:

  • Check open pull requests with the dependencies label to view other dependency updates.
  • If this pull request includes an update the AWS Go SDK (or any other dependency) version, only updates submitted via Renovate Bot will be merged. This pull request will need to remove these changes and will need to be rebased after the existing dependency update via Renovate Bot has been merged for this pull request to be reviewed.
  • If this pull request is for supporting a new AWS service:
    • Ensure the new AWS service changes are following the Contributing Guide section on new services, in particular that the dependency addition and initial provider support are in a separate pull request from other changes (e.g. new resources). Contributions not following this item will not be reviewed until the changes are split.
    • If this pull request is already a separate pull request from the above item, you can ignore this message.

@ghost ghost added the documentation Introduces or discusses updates to documentation. label Sep 25, 2020
@ZsoltPath ZsoltPath marked this pull request as ready for review September 25, 2020 15:54
@ZsoltPath ZsoltPath requested a review from a team September 25, 2020 15:54
@bflad bflad removed the dependencies Used to indicate dependency changes. label Sep 29, 2020
@aldegoeij
Copy link

@bflad any luck reviewing this yet 😇

@saintberry
Copy link

Also super keen to see this get merged. It will be much easier to manage New Relic integration using Firehose vs Lambda.

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 31, 2020
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ZsoltPath 👋 Thank you for submitting this! At quick glance, this looks like its on the right track here for the code and documentation, however we will need to also ensure there is testing added to verify the functionality. Is this something you are able or interested to work on?

If so, for more information about how the testing works in this project, please see the Running and Writing Acceptance Testing section of the Contributing Guide. Copy-paste-modify of existing testing is fine and encouraged. The maintainers can try to answer any questions you might have.

If not, no big deal, either someone from the community can pick it up or eventually a maintainer.

Please let us know, thanks!

@ZsoltPath
Copy link
Contributor Author

Hi @ZsoltPath 👋 Thank you for submitting this! At quick glance, this looks like its on the right track here for the code and documentation, however we will need to also ensure there is testing added to verify the functionality. Is this something you are able or interested to work on?

If so, for more information about how the testing works in this project, please see the Running and Writing Acceptance Testing section of the Contributing Guide. Copy-paste-modify of existing testing is fine and encouraged. The maintainers can try to answer any questions you might have.

If not, no big deal, either someone from the community can pick it up or eventually a maintainer.

Please let us know, thanks!

I'll give it a go.
I wasn't super keen on it because as I see very few of the resource's functions have tests already.

@ZsoltPath ZsoltPath requested a review from a team as a code owner November 3, 2020 12:35
@ghost ghost added the tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. label Nov 3, 2020
@ZsoltPath
Copy link
Contributor Author

@bflad I'm stuck here with HCL formatting.
When I run terrafmt locally it passes without an issue:

terraform-provider-aws$ terrafmt diff --check --fmtcompat aws/resource_aws_kinesis_firehose_delivery_stream_test.go
terraform-provider-aws$ echo $?
0

Could you give me a hint what should I do? I just don't want to play around and push commits and commits to accidentally find the solution.

Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll need to ask around why terrafmt isn't working locally as I'm not able to reproduce the difference output myself, even though there definitely was whitespace issues. I tried to catch the ones I could see though and maybe this will square it away.

aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
Co-authored-by: Brian Flad <bflad417@gmail.com>
@ZsoltPath
Copy link
Contributor Author

I'll need to ask around why terrafmt isn't working locally as I'm not able to reproduce the difference output myself, even though there definitely was whitespace issues. I tried to catch the ones I could see though and maybe this will square it away.

Yay! Thanks for finding these! I hate whitespace issues.

@bflad bflad added this to the v3.15.0 milestone Nov 6, 2020
@bflad bflad self-assigned this Nov 6, 2020
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ZsoltPath 👋 Getting close. Are you able to run the acceptance testing? Please see the Running and Writing Acceptance Testing section of the Contributing Guide. The other resource tests look fine, just need to fix up this one. 👍

aws/resource_aws_kinesis_firehose_delivery_stream_test.go Outdated Show resolved Hide resolved
aws/resource_aws_kinesis_firehose_delivery_stream.go Outdated Show resolved Hide resolved
@bflad bflad added the waiting-response Maintainers are waiting on response from community or contributor. label Nov 6, 2020
Co-authored-by: Brian Flad <bflad417@gmail.com>
@ZsoltPath
Copy link
Contributor Author

How the heck this new semgrep issue come up for aws/resource_aws_s3_bucket_public_access_block.go?
I haven't even opened that file :(

@ghost ghost removed waiting-response Maintainers are waiting on response from community or contributor. labels Nov 6, 2020
@bflad
Copy link
Contributor

bflad commented Nov 6, 2020

@ZsoltPath it is unrelated to your change and is due to merging #15925. It was fixed earlier today with #16068. semgrep is supposed to be better about ignoring unrelated changes in pull requests by comparing previous Git history, but seems like that isn't working correctly. Regardless, that issue will not affect me reviewing and potentially merging this if the acceptance testing is now working.

Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work on this, @ZsoltPath. 👍 It is close enough that I'm going to squash and merge this to fix up the pending test failure and ensure that retry_duration is properly configurable.

@bflad bflad merged commit b4302f2 into hashicorp:master Nov 6, 2020
bflad added a commit that referenced this pull request Nov 6, 2020
@ghost
Copy link

ghost commented Nov 12, 2020

This has been released in version 3.15.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 for triage. Thanks!

@ghost
Copy link

ghost commented Dec 7, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/firehose Issues and PRs that pertain to the firehose service. size/XL 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.

Add http_endpoint_configuration to r/aws_kinesis_firehose_delivery_stream
4 participants