Not able to add archive command to zip the lambda file and push that through the module
amitkayal opened this issue · 3 comments
Description
HI, I have the following archive command in my terraform file and then want to add data.archive_file.gather_reindexing_records-zip.output_path to use the zip file as filename and data.archive_file.gather_reindexing_records-zip.output_base64sha256 as source-code_hash. But I could not find any such option to dynamically execute this command during terraform apply. Is there an way to achieve this?
`
data "archive_file" "gather_reindexing_records-zip" {
type = "zip"
source_dir = "src/gather_reindexing_records"
output_path = "src/gather_reindexing_records.zip"
excludes = ["init.py", "*.pyc"]
}
`
This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I'm going to lock this issue because it has been closed for 30 days