24 lines
649 B
Terraform
24 lines
649 B
Terraform
output "archive_path" {
|
|
description = "Full path to archive file"
|
|
value = data.archive_file.layer1.output_path
|
|
}
|
|
|
|
output "archive_checksum" {
|
|
description = "Hash of archive"
|
|
value = data.archive_file.layer1.output_base64sha256
|
|
}
|
|
|
|
output "archive_size" {
|
|
description = "Size of archive"
|
|
value = data.archive_file.layer1.output_size
|
|
}
|
|
|
|
output "s3_object_key" {
|
|
description = "S3 object key"
|
|
value = try(aws_s3_object.object[0].key, null)
|
|
}
|
|
|
|
output "s3_object_hash" {
|
|
description = "S3 object hash, useful for triggering lambda layer update"
|
|
value = try(aws_s3_object.object[0].checksum_sha256, null)
|
|
} |