787 Commits

Author SHA1 Message Date
Pierre Trespeuch
40debfd9f5 Merge branch 'automatic-merge' into 'master'
Fix EXE001 rule

See merge request it/e3-aws!116
2026-02-10 08:56:54 +00:00
cookiecutter-e3
09c97d8baf Fix EXE001 rule
This rule request execution right for all python script with a shebang

ref: it/org/software-supply-chain/production-pipeline/issues#193

See merge request it/cookiecutter-e3!100 of the template
2026-02-10 07:58:40 +00:00
Jérémy Morosi
bb478dc050 Merge branch 'morosi-fix' into 'master'
Allow to pass invalidation cache lambda version and alias

See merge request it/e3-aws!117
2026-02-06 16:13:26 +00:00
Jérémy Morosi
445af4c388 Allow to pass invalidation cache lambda version and alias
`S3WebsiteDistribution` currently doesn't allow to deploy the
invalidation cache lambda with versioning
2026-02-06 15:45:47 +01:00
Jérémy Morosi
4ea0bd5db1 Merge branch 'morosi-fix' into 'master'
Fix elb query_string with + sign in flask wrapper

See merge request it/e3-aws!115
2026-01-23 10:59:29 +00:00
Jérémy Morosi
07e123621c Fix elb query_string with + sign in flask wrapper
When `queryStringParameters` contains something like "a=b+c",
`urlencode` turns that into "a=b&2Bc". So `unquote_plus` must first
be used to remove the + sign
2026-01-23 10:38:10 +01:00
Romaric Kanyamibwa
cce50b433a Merge branch 'mr/kanya/fix' into 'master'
Shorten EnableCloudwatchLoggingForApigatewayRole

See merge request it/e3-aws!114
2026-01-21 12:06:24 +01:00
Romaric Kanyamibwa
90a1a46a91 Shorten EnableCloudwatchLoggingForApigatewayRole
The maximum name size for an AWS ressource is 64 characters and
'EnableCloudwatchLoggingForApigatewayRole' is by itself 40, if it is to
be prefixed with the RestApi's name then it must be shortened
considerably.
2026-01-21 11:52:59 +01:00
Rowan Walshe
83e2efa4f4 Merge branch 'topic/Add-prefix-to-cloudwatch-role-in-apigateway' into 'master'
Add name prefix to API Gateway Cloudwatch Logging Role

See merge request it/e3-aws!113
2026-01-20 16:23:07 +00:00
Rowan Walshe
86c8ef2603 Add name prefix to API Gateway Cloudwatch Logging Role 2026-01-20 15:04:02 +00:00
Jérémy Morosi
279961cac0 Merge branch 'morosi-feat' into 'master'
Make RotationSchedule accept a lambda qualifier

See merge request it/e3-aws!111
2026-01-13 17:04:40 +00:00
Jérémy Morosi
573b3ab53a Make RotationSchedule accept a lambda qualifier
As `invoke_permission` used in the class, it can accept a lambda
qualifier to make the rotation schedule point to a version/alias
of the lambda
2026-01-13 17:47:17 +01:00
Jérémy Morosi
08bdaaa835 Merge branch 'morosi-flask' into 'master'
Add support for ELB in lambda flask wrapper

See merge request it/e3-aws!110
2026-01-12 11:11:06 +00:00
Jérémy Morosi
00fbf04b22 Add support for ELB in lambda flask wrapper
When an ELB is in front of a lambda, the event is different as
seen here https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html#receive-event-from-load-balancer.

In particular, the variables are not in `requestContext`.
2026-01-12 11:39:35 +01:00
Jérémy Morosi
1031f42fa6 Merge branch 'morosi-fix' into 'master'
Move DockerFunction to own module

See merge request it/e3-aws!109
2025-12-22 10:51:27 +00:00
Jérémy Morosi
716fca1630 Move DockerFunction to own module
There is an error importing `awslambda` as `python-on-whales` has
been removed from the dependencies list
2025-12-22 11:23:07 +01:00
Elsa Ferrara
587c52c378 Merge branch 'mr/ferrara/python-on-whales-optional-dependency' into 'master'
Move python-on-whales to optional dependencies

See merge request it/e3-aws!108
2025-12-19 16:39:52 +00:00
Elsa Ferrara
cfe80d57fe Move python-on-whales to optional dependencies
Adding python-on-whales to e3-aws dependencies caused e3-distrib to fail. e3-distrib packages with python-on-whales need to be uploaded on cathod to solve this.

We may not want to add python-on-whales on cathod because it is just used for GNAT IQ.

Moving python-on-whales to optional dependencies resolves the e3-distrib build issue.

ref: https://gitlab.adacore-it.com/it/org/software-supply-chain/production-pipeline/issues/-/issues/192
2025-12-19 17:17:18 +01:00
Elsa Ferrara
5e8698ee0e Merge branch 'automatic-merge' into 'master'
Remove python 3.9 an reenable Python 3.10 tests

See merge request it/e3-aws!101
2025-12-17 17:38:04 +00:00
cookiecutter-e3
6fc234550a Reenable Python 3.10 tests
Python 3.10 tests should be re-enabled, as it is still a supported version.

ref: it/org/software-supply-chain/production-pipeline/issues#182

See merge request it/cookiecutter-e3!97 of the template
2025-12-17 18:27:19 +01:00
Elsa Ferrara
04b126184c Merge branch 'mr/ferrara/remove-datetime.utc' into 'master'
Remove datetime.UTC

See merge request it/e3-aws!107
2025-12-17 17:15:17 +00:00
Elsa Ferrara
9fcd7ff51f Remove datetime.UTC
Replace  `datetime.UTC` by `datetime.timezone.utc`
datetime.
UTC has been introduced into Python 3.11 and we still want to support Python 3.10

ref: it/org/software-supply-chain/production-pipeline/issues#182
2025-12-17 17:36:05 +01:00
Jérémy Morosi
ad80bfb6d7 Merge branch 'topic/Add-support-for-arm64-lambda-functions-and-docker-buildkit' into 'master'
Improve support for Docker based Lambda functions

See merge request it/e3-aws!105
2025-12-17 14:07:36 +00:00
Rowan Walshe
b8b1cd63b5 Add support for Docker based Lambda functions built using buildx
Add support for setting environment variables and logs_retention_in_days
for docker image based Lambda functions

Co-authored-by: Jérémy Morosi <morosi@adacore.com>
2025-12-17 13:58:26 +00:00
Jérémy Morosi
2c51751c5e Merge branch 'morosi-feat' into 'master'
Add S3.get_object/get_body methods

See merge request it/e3-aws!106
2025-12-17 09:29:29 +00:00