community / community.general / 8.5.0 / module / scaleway_function_info Retrieve information on Scaleway Function | "added in version" 6.0.0 of community.general" Authors: Guillaume MARTINEZ (@Lunik)community.general.scaleway_function_info (8.5.0) — module
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
This module return information about a function on Scaleway account.
- name: Get a function info community.general.scaleway_function_info: namespace_id: '{{ scw_function_namespace }}' region: fr-par name: my-awesome-function register: function_info_task
name: description: - Name of the function. required: true type: str region: choices: - fr-par - nl-ams - pl-waw description: - Scaleway region to use (for example C(fr-par)). required: true type: str api_url: aliases: - base_url default: https://api.scaleway.com description: - Scaleway API URL. type: str api_token: aliases: - oauth_token description: - Scaleway OAuth token. required: true type: str api_timeout: aliases: - timeout default: 30 description: - HTTP timeout to Scaleway API in seconds. type: int namespace_id: description: - Container namespace identifier. required: true type: str validate_certs: default: true description: - Validate SSL certs of the Scaleway API. type: bool query_parameters: default: {} description: - List of parameters passed to the query string. type: dict
function: description: The function information. returned: always sample: cpu_limit: 140 description: Function used for testing scaleway_function ansible module domain_name: fnansibletestfxamabuc-fn-ansible-test.functions.fnc.fr-par.scw.cloud environment_variables: MY_VAR: my_value error_message: null handler: handler.handle http_option: '' id: ceb64dc4-4464-4196-8e20-ecef705475d3 max_scale: 5 memory_limit: 256 min_scale: 0 name: fn-ansible-test namespace_id: 82737d8d-0ebb-4d89-b0ad-625876eca50d privacy: public region: fr-par runtime: python310 runtime_message: '' secret_environment_variables: - key: MY_SECRET_VAR value: $argon2id$v=19$m=65536,t=1,p=2$tb6UwSPWx/rH5Vyxt9Ujfw$5ZlvaIjWwNDPxD9Rdght3NarJz4IETKjpvAU3mMSmFg status: created timeout: 300s type: dict