feat(ec2): support Firehose IDeliveryStreamRef as flow log destination#36278
Conversation
|
|
||||||||||||||
|
|
||||||||||||||
|
➡️ PR build request submitted to A maintainer must now check the pipeline and add the |
|
@leonmk-aws Should I revert renaming integ test? |
leonmk-aws
left a comment
There was a problem hiding this comment.
Thank you for your contribution, just a small change requested to clean up leftovers files. Regarding the integ test naming, no you can let it like this, looks like a small bug in how the integ runner workflow find which integ tests to deploy, but the new test deploys fine.
There was a problem hiding this comment.
There are leftovers files, can you remove the directory completely since the test got removed.
There was a problem hiding this comment.
Thanks for clarification. Removed them.
Pull request has been modified.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Merge Queue Status🟠 Waiting for merge conditions (rule: Entered the queue at: Required conditions to merge
Required conditions to stay in the queue
|
|
@Mergifyio refresh |
✅ Pull request refreshed |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
Re-drive of #33883 and #34596.
Related to #33757.
Reason for this change
FlowLogDestination.toKinesisDataFirehoseDestination()includes the former service name Kinesis and receives the string ARN.Also, cross-account log delivery needs an IAM role. https://docs.aws.amazon.com/vpc/latest/userguide/firehose-cross-account-delivery.html
Description of changes
FlowLogDestination.toFirehose()with an optional IAM role.toKinesisDataFirehoseDestination()Note: CDK cannot create the IAM role for cross-account delivery because the VPC ARN is needed but FlowLog construct doesn't know it.
Changes from previous PRs
This PR refers the new reference interface
IDeliveryStreamRef(defined ininterfacessubmodule) to avoid cyclic dependency.BEFORE
AFTER
Describe any new or updated permissions being added
N/A - Users must specify IAM roles for cross account delivery.
Description of how you validated changes
Unit tests and integ test.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license