published on Monday, Mar 9, 2026 by g-core
published on Monday, Mar 9, 2026 by g-core
Manages a FastEdge WebAssembly binary. Binaries are immutable - any change to the file content will trigger resource replacement.
Example Usage
All attributes
The following example shows all configurable attributes for this resource.
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const example = new gcore.FastedgeBinary("example", {filename: "path/to/your/wasm/binary.wasm"});
import pulumi
import pulumi_gcore as gcore
example = gcore.FastedgeBinary("example", filename="path/to/your/wasm/binary.wasm")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.NewFastedgeBinary(ctx, "example", &gcore.FastedgeBinaryArgs{
Filename: pulumi.String("path/to/your/wasm/binary.wasm"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var example = new Gcore.FastedgeBinary("example", new()
{
Filename = "path/to/your/wasm/binary.wasm",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.FastedgeBinary;
import com.pulumi.gcore.FastedgeBinaryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new FastedgeBinary("example", FastedgeBinaryArgs.builder()
.filename("path/to/your/wasm/binary.wasm")
.build());
}
}
resources:
example:
type: gcore:FastedgeBinary
properties:
filename: path/to/your/wasm/binary.wasm
Create FastedgeBinary Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FastedgeBinary(name: string, args: FastedgeBinaryArgs, opts?: CustomResourceOptions);@overload
def FastedgeBinary(resource_name: str,
args: FastedgeBinaryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FastedgeBinary(resource_name: str,
opts: Optional[ResourceOptions] = None,
filename: Optional[str] = None)func NewFastedgeBinary(ctx *Context, name string, args FastedgeBinaryArgs, opts ...ResourceOption) (*FastedgeBinary, error)public FastedgeBinary(string name, FastedgeBinaryArgs args, CustomResourceOptions? opts = null)
public FastedgeBinary(String name, FastedgeBinaryArgs args)
public FastedgeBinary(String name, FastedgeBinaryArgs args, CustomResourceOptions options)
type: gcore:FastedgeBinary
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FastedgeBinaryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FastedgeBinaryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FastedgeBinaryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FastedgeBinaryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FastedgeBinaryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fastedgeBinaryResource = new Gcore.FastedgeBinary("fastedgeBinaryResource", new()
{
Filename = "string",
});
example, err := gcore.NewFastedgeBinary(ctx, "fastedgeBinaryResource", &gcore.FastedgeBinaryArgs{
Filename: pulumi.String("string"),
})
var fastedgeBinaryResource = new FastedgeBinary("fastedgeBinaryResource", FastedgeBinaryArgs.builder()
.filename("string")
.build());
fastedge_binary_resource = gcore.FastedgeBinary("fastedgeBinaryResource", filename="string")
const fastedgeBinaryResource = new gcore.FastedgeBinary("fastedgeBinaryResource", {filename: "string"});
type: gcore:FastedgeBinary
properties:
filename: string
FastedgeBinary Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FastedgeBinary resource accepts the following input properties:
- Filename string
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- Filename string
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- filename String
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- filename string
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- filename str
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- filename String
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
Outputs
All input properties are implicitly available as output properties. Additionally, the FastedgeBinary resource produces the following output properties:
- Api
Type string - Wasm API type
- Checksum string
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- Fastedge
Binary doubleId - Binary ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Source double
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - Status double
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - Unref
Since string - Not used since (UTC)
- Api
Type string - Wasm API type
- Checksum string
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- Fastedge
Binary float64Id - Binary ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Source float64
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - Status float64
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - Unref
Since string - Not used since (UTC)
- api
Type String - Wasm API type
- checksum String
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge
Binary DoubleId - Binary ID
- id String
- The provider-assigned unique ID for this managed resource.
- source Double
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status Double
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref
Since String - Not used since (UTC)
- api
Type string - Wasm API type
- checksum string
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge
Binary numberId - Binary ID
- id string
- The provider-assigned unique ID for this managed resource.
- source number
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status number
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref
Since string - Not used since (UTC)
- api_
type str - Wasm API type
- checksum str
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge_
binary_ floatid - Binary ID
- id str
- The provider-assigned unique ID for this managed resource.
- source float
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status float
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref_
since str - Not used since (UTC)
- api
Type String - Wasm API type
- checksum String
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge
Binary NumberId - Binary ID
- id String
- The provider-assigned unique ID for this managed resource.
- source Number
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status Number
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref
Since String - Not used since (UTC)
Look up Existing FastedgeBinary Resource
Get an existing FastedgeBinary resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FastedgeBinaryState, opts?: CustomResourceOptions): FastedgeBinary@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_type: Optional[str] = None,
checksum: Optional[str] = None,
fastedge_binary_id: Optional[float] = None,
filename: Optional[str] = None,
source: Optional[float] = None,
status: Optional[float] = None,
unref_since: Optional[str] = None) -> FastedgeBinaryfunc GetFastedgeBinary(ctx *Context, name string, id IDInput, state *FastedgeBinaryState, opts ...ResourceOption) (*FastedgeBinary, error)public static FastedgeBinary Get(string name, Input<string> id, FastedgeBinaryState? state, CustomResourceOptions? opts = null)public static FastedgeBinary get(String name, Output<String> id, FastedgeBinaryState state, CustomResourceOptions options)resources: _: type: gcore:FastedgeBinary get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Type string - Wasm API type
- Checksum string
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- Fastedge
Binary doubleId - Binary ID
- Filename string
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- Source double
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - Status double
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - Unref
Since string - Not used since (UTC)
- Api
Type string - Wasm API type
- Checksum string
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- Fastedge
Binary float64Id - Binary ID
- Filename string
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- Source float64
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - Status float64
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - Unref
Since string - Not used since (UTC)
- api
Type String - Wasm API type
- checksum String
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge
Binary DoubleId - Binary ID
- filename String
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- source Double
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status Double
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref
Since String - Not used since (UTC)
- api
Type string - Wasm API type
- checksum string
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge
Binary numberId - Binary ID
- filename string
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- source number
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status number
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref
Since string - Not used since (UTC)
- api_
type str - Wasm API type
- checksum str
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge_
binary_ floatid - Binary ID
- filename str
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- source float
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status float
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref_
since str - Not used since (UTC)
- api
Type String - Wasm API type
- checksum String
- MD5 hash of the binary. Computed from the local file and verified against the API response.
- fastedge
Binary NumberId - Binary ID
- filename String
- Path to the WebAssembly binary file to upload. Changes to file content (detected via checksum) will trigger resource replacement.
- source Number
- Source language:
0 - unknown
1 - Rust
2 - JavaScript - status Number
- Status code:
0 - pending
1 - compiled
2 - compilation failed (errors available)
3 - compilation failed (errors not available)
4 - resulting binary exceeded the limit
5 - unsupported source language - unref
Since String - Not used since (UTC)
Import
$ pulumi import gcore:index/fastedgeBinary:FastedgeBinary example '<id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
published on Monday, Mar 9, 2026 by g-core
