buronn/Huawei FunctionGraph Deploy Action
Action to deploy a function in Huawei Cloud's FunctionGraph using mandatory parameters.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| access_key_id | Huawei Cloud Access Key ID | yes | — |
| secret_access_key | Huawei Cloud Secret Access Key | yes | — |
| region | Region where the function will be deployed (e.g., la-south-2) | yes | — |
| func_name | Name of the function to create | yes | — |
| package | Function package (default: 'default') | no | default |
| runtime | Function runtime (e.g., Python3.10) | yes | — |
| timeout | Maximum execution time (in seconds, range: 3-259200) | yes | — |
| handler | Function handler (e.g., main.handler) | yes | — |
| memory_size | Memory allocated to the function in MB (e.g., 256) | yes | — |
| code_path | Path to the folder containing the function code (relative to the repository) | no | "" |
| code_type | Function code type. Options: inline, zip, obs, jar, Custom-Image-Swr | no | zip |
| code_filename | Code file name (required if code_type is zip) | no | "" |
| code_link | URL for the function code | no | "" |
| func_vpc_domain_id | Domain name ID for the VPC | no | "" |
| func_vpc_namespace | Project ID for the VPC | no | "" |
| func_vpc_vpc_name | VPC name | no | "" |
| func_vpc_vpc_id | VPC ID (required if VPC is configured) | no | "" |
| func_vpc_subnet_name | Subnet name | no | "" |
| func_vpc_subnet_id | Subnet ID (required if VPC is configured) | no | "" |
| func_vpc_cidr | Subnet mask (CIDR) | no | "" |
| func_vpc_gateway | Gateway | no | "" |
| func_vpc_security_groups | Security groups (comma-separated values) | no | "" |
| dockerfile_path | Path to the Dockerfile for building the image (relative to the repository) | no | "" |
| custom_image_enabled | Enables the use of Custom Image (true/false) | no | false |
| custom_image_image | Full image address. If left empty, it is generated using organization, image_name, and tag | no | "" |
| custom_image_image_tag | Image tag (used if custom_image_image is empty) | no | latest |
| custom_image_organization | Organization to build the image (used if custom_image_image is empty) | no | "" |
| custom_image_image_name | Image name (used if custom_image_image is empty) | no | "" |
| custom_image_command | Command to start the container image | no | "" |
| custom_image_args | Command-line parameters to start the image | no | "" |
| custom_image_working_dir | Container working directory | no | "" |
| custom_image_uid | User ID for the container | no | "" |
| custom_image_gid | User group ID for the container | no | "" |
| xrole | Huawei Cloud Agency name with permissions (for VPC, SWR, etc.) | no | "" |
| trigger_enabled | Enables the creation of triggers for the function (true/false) | no | false |
| trigger_configs | Trigger 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 | [] |
Outputs
no outputs