Skip to content

Commit

Permalink
cds-1666 Add support for Assuming Role, Custom Role and Parameter to …
Browse files Browse the repository at this point in the history
…select Concurrency Limit (#117)

* Add new variable LambdaAssumeRoleARN

* added support for AssumeRole, Resrved Conrrent Execution parameter and remved circular dependency on DeadletterQueue

* changelog

* added aws_sdk_sts

* updated readme

* updated clients mod to support assume role for S3 and ECR clients

* cargo fmt

* added AssumeRole variable to config

* added override condition for assume role and cargo fmt

* align cargo.toml version with template version

* allow ReservedConcurrentExecutions to have no value

* remove add_role function from custom lambda code

* add update_lambda_role function to custom lambda

* Adjusted Kinesis Condition, Added ReservedConcurrencyLimit as an AWS::Novalue condition, Add additional custom resource Waiter to add delay after Role is updated with the Policy, Moved lambda Policy into its own block.

* removed role update and reservced concurrency limit functions

* Add permissions to kinesis integration, remove function update_lambda_role from custom resource code

* Add the lambda permissions to create log group

* Add to dlq test permission to access S3 bucket, fix permission to privatelink

* fix permissions in lambda policy

* update readme file

* removed comment

* updated readme with info on Role Parameters

* removed unneeded function

* removed unused import

---------

Co-authored-by: guyrenny <[email protected]>
Co-authored-by: Concourse <[email protected]>
  • Loading branch information
3 people authored Nov 15, 2024
1 parent 5689a27 commit 84d536d
Show file tree
Hide file tree
Showing 15 changed files with 654 additions and 305 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

## v1.0.15 / 2024-01-24
## v1.0.15 / 2024-11-09
### 💡 Enhancements 💡
- Add new parameter `LambdaAssumeRoleARN` which accept role arn, that the lambda will use for Execution role.
- Update internal code to support the new parameter `LambdaAssumeRoleARN`.
- Add new parameter ReservedConcurrentExecutions to the lambda function.
- Removed circular dependency between DeadLetterQueue and CustomResourceFunction

## v1.0.14 / 2024-01-24
### 💡 Enhancements 💡
- Internal code refactoring to isolate logs workflow from additional telemetry workflows to come.

Expand Down
156 changes: 133 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "coralogix-aws-shipper"
version = "1.0.14"
version = "1.0.15"
edition = "2021"

[dependencies]
Expand Down Expand Up @@ -37,6 +37,7 @@ chrono = "0.4.37"
async-recursion = "1.1.0"
md5 = "0.7.0"
anyhow = "1.0.86"
aws-sdk-sts = "1.49.0"

[dev-dependencies]
pretty_assertions_sorted = "1.2.1"
Expand Down
Loading

0 comments on commit 84d536d

Please sign in to comment.