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
|
timeout = 300 # 5 minutes
|
||||||
|
|
||||||
build_in_docker = true
|
build_in_docker = true
|
||||||
architectures = ["arm64"]
|
architectures = [var.architecture]
|
||||||
|
|
||||||
source_path = [{
|
source_path = [{
|
||||||
path = "${path.module}/src"
|
path = "${path.module}/src"
|
||||||
|
|||||||
@@ -27,3 +27,9 @@ variable "schedule_expression_timezone" {
|
|||||||
description = "Timezone for the schedule expression"
|
description = "Timezone for the schedule expression"
|
||||||
default = "UTC"
|
default = "UTC"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "architecture" {
|
||||||
|
type = string
|
||||||
|
description = "CPU Architecture to Build & Deploy"
|
||||||
|
default = "x86_64"
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user