mirror of
https://github.com/createfuture-cloud/feedsummarizer.git
synced 2025-12-13 09:02:24 +00:00
fix: Support variable architecture
This commit is contained in:
2
main.tf
2
main.tf
@@ -23,7 +23,7 @@ module "function" {
|
||||
timeout = 300 # 5 minutes
|
||||
|
||||
build_in_docker = true
|
||||
architectures = ["arm64"]
|
||||
architectures = [var.architecture]
|
||||
|
||||
source_path = [{
|
||||
path = "${path.module}/src"
|
||||
|
||||
@@ -27,3 +27,9 @@ variable "schedule_expression_timezone" {
|
||||
description = "Timezone for the schedule expression"
|
||||
default = "UTC"
|
||||
}
|
||||
|
||||
variable "architecture" {
|
||||
type = string
|
||||
description = "CPU Architecture to Build & Deploy"
|
||||
default = "x86_64"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user