When User A uploaded a jpg file into Bucket A it will trigger a lambda function which will then remove the EXIF data and put the file into Bucket B.
Name | Version |
---|---|
terraform | > 1.1 |
archive | ~> 2.0 |
aws | ~> 4.0 |
random | ~> 3.0 |
Name | Version |
---|---|
archive | 2.2.0 |
aws | 4.1.0 |
random | 3.1.0 |
Name | Source | Version |
---|---|---|
bucket_a | ./modules/s3_bucket | n/a |
bucket_b | ./modules/s3_bucket | n/a |
Name | Type |
---|---|
aws_cloudwatch_log_group.remove_image_exif_lambda_function_logs | resource |
aws_iam_role.remove_image_exif_lambda_execution_iam_role | resource |
aws_iam_role_policy.remove_image_exif_lambda_execution_iam_role_policy | resource |
aws_iam_user.user_a | resource |
aws_iam_user.user_b | resource |
aws_iam_user_policy.user_a_policy | resource |
aws_iam_user_policy.user_b_policy | resource |
aws_lambda_function.remove_image_exif_lambda_function | resource |
aws_lambda_permission.allow_bucket_a_notification | resource |
aws_s3_account_public_access_block.block_public_buckets | resource |
aws_s3_bucket_notification.bucket_a_lambda_notification | resource |
random_string.random | resource |
archive_file.remove_image_exif_lambda_function_zip | data source |
aws_caller_identity.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_region | AWS deployment region | string |
"eu-west-2" |
no |
bucket_a_name_prefix | Bucket A name prefix, to be appened to a random string | string |
"bucket-a-" |
no |
bucket_b_name_prefix | Bucket B name prefix, to be appened to a random string | string |
"bucket-b-" |
no |
remove_image_exif_lambda_function_name | Name of the Lambda function to remove exif data from images uploaded to s3 | string |
"RemoveImageExifData" |
no |
No outputs.