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

Bugfix: AppFlow: Ignore empty tasks #26614

Merged
merged 4 commits into from
Jul 17, 2023
Merged

Bugfix: AppFlow: Ignore empty tasks #26614

merged 4 commits into from
Jul 17, 2023

Conversation

camro
Copy link
Contributor

@camro camro commented Sep 2, 2022

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

Relates #25095

Output from acceptance testing:

$ make testacc TESTS=TestAccXXX PKG=ec2

...

@camro camro changed the title Ignore empty tasks when flattening AppFlow: Ignore empty tasks Sep 2, 2022
@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. service/appflow Issues and PRs that pertain to the appflow service. needs-triage Waiting for first response or review from a maintainer. labels Sep 2, 2022
@camro camro changed the title AppFlow: Ignore empty tasks Bugfix: AppFlow: Ignore empty tasks Sep 2, 2022
camro added a commit to camro/terraform-provider-aws that referenced this pull request Sep 2, 2022
@camro camro force-pushed the main branch 3 times, most recently from 63f4d64 to fcb1fbb Compare September 2, 2022 04:14
@camro camro marked this pull request as ready for review September 2, 2022 04:25
@didiqaz122
Copy link

good

@justinretzolk justinretzolk added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 13, 2022
@camro
Copy link
Contributor Author

camro commented Jan 25, 2023

Bump

1 similar comment
@camro
Copy link
Contributor Author

camro commented Jul 7, 2023

Bump

Copy link
Contributor

@johnsonaj johnsonaj left a 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=TestAccAppFlowFlow_' PKG=appflow

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/appflow/... -v -count 1 -parallel 20  -run=TestAccAppFlowFlow_ -timeout 180m
--- PASS: TestAccAppFlowFlow_disappears (28.70s)
--- PASS: TestAccAppFlowFlow_TaskProperties (29.96s)
--- PASS: TestAccAppFlowFlow_basic (32.38s)
--- PASS: TestAccAppFlowFlow_update (47.04s)
--- PASS: TestAccAppFlowFlow_S3_outputFormatConfig_ParquetFileType (47.31s)
--- PASS: TestAccAppFlowFlow_tags (66.03s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/appflow	69.406s

@johnsonaj
Copy link
Contributor

Thank you for the contribution! 🎉

@johnsonaj johnsonaj merged commit 69df012 into hashicorp:main Jul 17, 2023
37 checks passed
@github-actions github-actions bot added this to the v5.9.0 milestone Jul 17, 2023
@github-actions
Copy link

This functionality has been released in v5.9.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!

@vgw-chriskruger
Copy link

vgw-chriskruger commented Aug 10, 2023

I tried this fix out in 5.9.0 yesterday. Has it been tested? It didn't seem to work for me.

Update: Looking at the fix (I am not really familiar with go) I don't really understand why it would work? It looks like it is doing pointer comparison when we want structural comparison to compare to its zero value composite literal. This change is unlikely to ever break anything, but I don't see how it works as we want? Happy to be educated if I am wrong.

@github-actions
Copy link

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 Sep 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/appflow Issues and PRs that pertain to the appflow service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants