buronn/Huawei FunctionGraph Deploy Action

Action to deploy a function in Huawei Cloud's FunctionGraph using mandatory parameters.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
access_key_idHuawei Cloud Access Key IDyes
secret_access_keyHuawei Cloud Secret Access Keyyes
regionRegion where the function will be deployed (e.g., la-south-2)yes
func_nameName of the function to createyes
packageFunction package (default: 'default')nodefault
runtimeFunction runtime (e.g., Python3.10)yes
timeoutMaximum execution time (in seconds, range: 3-259200)yes
handlerFunction handler (e.g., main.handler)yes
memory_sizeMemory allocated to the function in MB (e.g., 256)yes
code_pathPath to the folder containing the function code (relative to the repository)no""
code_typeFunction code type. Options: inline, zip, obs, jar, Custom-Image-Swrnozip
code_filenameCode file name (required if code_type is zip)no""
code_linkURL for the function codeno""
func_vpc_domain_idDomain name ID for the VPCno""
func_vpc_namespaceProject ID for the VPCno""
func_vpc_vpc_nameVPC nameno""
func_vpc_vpc_idVPC ID (required if VPC is configured)no""
func_vpc_subnet_nameSubnet nameno""
func_vpc_subnet_idSubnet ID (required if VPC is configured)no""
func_vpc_cidrSubnet mask (CIDR)no""
func_vpc_gatewayGatewayno""
func_vpc_security_groupsSecurity groups (comma-separated values)no""
dockerfile_pathPath to the Dockerfile for building the image (relative to the repository)no""
custom_image_enabledEnables the use of Custom Image (true/false)nofalse
custom_image_imageFull image address. If left empty, it is generated using organization, image_name, and tagno""
custom_image_image_tagImage tag (used if custom_image_image is empty)nolatest
custom_image_organizationOrganization to build the image (used if custom_image_image is empty)no""
custom_image_image_nameImage name (used if custom_image_image is empty)no""
custom_image_commandCommand to start the container imageno""
custom_image_argsCommand-line parameters to start the imageno""
custom_image_working_dirContainer working directoryno""
custom_image_uidUser ID for the containerno""
custom_image_gidUser group ID for the containerno""
xroleHuawei Cloud Agency name with permissions (for VPC, SWR, etc.)no""
trigger_enabledEnables the creation of triggers for the function (true/false)nofalse
trigger_configsTrigger configuration in JSON array format. Each object must include at least the `trigger_type_code` parameter and can contain other parameters that will be added with the prefix '--event_data.'. no[]

no outputs