File tree Expand file tree Collapse file tree 4 files changed +13
-0
lines changed
glue-failure-alert-notifications Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ resource "aws_s3_object" "lambda" {
128128 acl = " private"
129129 source_hash = null_resource. run_install_requirements . triggers [" dir_sha1" ]
130130 depends_on = [data . archive_file . lambda ]
131+ metadata = {
132+ last_updated = data.archive_file.lambda.output_base64sha256
133+ }
131134}
132135
133136resource "aws_lambda_function" "lambda" {
Original file line number Diff line number Diff line change @@ -141,6 +141,10 @@ resource "aws_s3_object" "rds_snapshot_to_s3_lambda" {
141141 depends_on = [
142142 data . archive_file . rds_snapshot_to_s3_lambda
143143 ]
144+ metadata = {
145+ last_updated = data.archive_file.rds_snapshot_to_s3_lambda.output_sha256
146+ }
147+
144148}
145149
146150resource "aws_lambda_function" "rds_snapshot_to_s3_lambda" {
Original file line number Diff line number Diff line change @@ -158,6 +158,9 @@ resource "aws_s3_object" "s3_to_s3_copier_lambda" {
158158 depends_on = [
159159 data . archive_file . s3_to_s3_copier_lambda
160160 ]
161+ metadata = {
162+ last_updated = data.archive_file.s3_to_s3_copier_lambda.output_base64sha256
163+ }
161164}
162165
163166resource "aws_lambda_function" "s3_to_s3_copier_lambda" {
Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ resource "aws_s3_object" "lambda" {
8383 source = data. archive_file . lambda . output_path
8484 etag = filemd5 (data. archive_file . lambda . output_path )
8585 acl = " private"
86+ metadata = {
87+ last_updated = data.archive_file.lambda.output_base64sha256
88+ }
8689}
8790
8891resource "aws_lambda_function" "lambda" {
You can’t perform that action at this time.
0 commit comments