feat: big-suite terraform example + provider nodejs zip fix
- examples/big-suite: E-Commerce 10 functions, 6 layers, real depends_on - provider: nodejs packages now wrapped in ESM zip (buildJSDeployZip) - provider: loadPackageLiteral reads raw file, nodejs zip via source_dir - all 10 functions verified working: python/node/ruby/go runtimes
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# ──────────────────────────────────────────────────────────────────────────────
|
||||
# Environments — E-Commerce Platform API
|
||||
# ──────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
resource "fission_environment" "python" {
|
||||
name = "ecom-python-env"
|
||||
image = "ghcr.io/fission/python-env"
|
||||
version = 3
|
||||
poolsize = 3
|
||||
}
|
||||
|
||||
resource "fission_environment" "node" {
|
||||
name = "ecom-node-env"
|
||||
image = "ghcr.io/fission/node-env"
|
||||
version = 3
|
||||
poolsize = 3
|
||||
}
|
||||
|
||||
resource "fission_environment" "ruby" {
|
||||
name = "ecom-ruby-env"
|
||||
image = "ghcr.io/fission/ruby-env"
|
||||
version = 3
|
||||
poolsize = 2
|
||||
}
|
||||
|
||||
resource "fission_environment" "go" {
|
||||
name = "ecom-go-env"
|
||||
image = "ghcr.io/fission/go-env"
|
||||
builder_image = "ghcr.io/fission/go-builder"
|
||||
builder_command = "build"
|
||||
version = 3
|
||||
poolsize = 1
|
||||
}
|
||||
Reference in New Issue
Block a user