-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add support for r/aws_appflow_flow #24017
Conversation
fe1354f
to
51e25d6
Compare
51e25d6
to
26c1c60
Compare
33a825c
to
37e9ab4
Compare
37e9ab4
to
6ad5628
Compare
…ibutes" This reverts commit 8cc523a. - ExactlyOneOf must be pointing to an actual attribute: not a block
24b89d2
to
f77085a
Compare
f77085a
to
ef673e3
Compare
SummaryThis pull request adds support for the management Amazon AppFlow flow resources. The latest commit, 7923962, has passing acceptance tests:
The test config used is an instance of a flow from an S3 bucket source to an S3 bucket destination; this is because further sources / destinations either require credential configuration via a forthcoming We will likely add additional tests covering connections between AWS resources, e.g. Redshift, once connector profile support has been added. Code CommentsGeneric Destination Properties / Generic Source Properties:A number of As a result, there is a fair amount of repeating logic in the flatten / expand functions for these structs; the code could likely be made more DRY / elegant if we replaced these with a set of generic flatten / expand functions. However, I was personally unable to get the type conversion / assertion working correctly, i.e. without build errors.
|
b637ce9
to
d27ee28
Compare
Acceptance tests passing on latest commit (d27ee28). |
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 TESTS=TestAccAppFlowFlow_ PKG=appflow ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/appflow/... -v -count 1 -parallel 2 -run='TestAccAppFlowFlow_' -timeout 180m
=== RUN TestAccAppFlowFlow_basic
=== PAUSE TestAccAppFlowFlow_basic
=== RUN TestAccAppFlowFlow_update
=== PAUSE TestAccAppFlowFlow_update
=== RUN TestAccAppFlowFlow_tags
=== PAUSE TestAccAppFlowFlow_tags
=== RUN TestAccAppFlowFlow_disappears
=== PAUSE TestAccAppFlowFlow_disappears
=== CONT TestAccAppFlowFlow_basic
=== CONT TestAccAppFlowFlow_tags
--- PASS: TestAccAppFlowFlow_basic (29.03s)
=== CONT TestAccAppFlowFlow_update
--- PASS: TestAccAppFlowFlow_tags (64.04s)
=== CONT TestAccAppFlowFlow_disappears
--- PASS: TestAccAppFlowFlow_update (41.81s)
--- PASS: TestAccAppFlowFlow_disappears (23.09s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/appflow 91.041s
Acceptance tests passing on latest commit 17b5b27. Merging! 🚀 |
This functionality has been released in v4.14.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
Relates #23892 and #16253