Open henryhcheung2 opened 7 months ago
Hi @henryhcheung2 - currently we support publishing lambda functions using https://aws-controllers-k8s.github.io/community/reference/lambda/v1alpha1/version/ - however we could also add an annotation to support on-update publish calls. cc @Vandita2020
That would be very helpful. thanks!
Is your feature request related to a problem? Lambdas created from ack controller do not publish new lambda versions whenever there is a lambda change. New Lambda version is published only on lambda creation and not on lambda change. Current Ack Lambda publish behavior documentation: https://aws-controllers-k8s.github.io/community/reference/lambda/v1alpha1/function/#:~:text=zip%20file%20archive.-,publish,-Optional
Describe the solution you'd like New Lambda version is published whenever there is a lambda change (for example, lambda container image URI changes causes a new lambda version to be published)
Describe alternatives you've considered Terraform supports this feature: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function#publish
Crossplane Lambdas also do as well.