Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Hey team!
Previously the API only supported SQS triggers. It is now possible to create Scaleway MnQ NATS triggers as well via the API.
This should be more likely added to the scaleway_function_trigger & scaleway_container_triggerresources
resource scaleway_function_trigger main {
function_id = scaleway_function.main.id
name = "my-trigger"
nats {
namespace_id = scaleway_mnq_namespace.main.id
subject = "weather"
# If project or region is different
project_id = scaleway_mnq_namespace.main.project_id
region = scaleway_mnq_namespace.main.region
}
}
Community Note
Description
Hey team!
Previously the API only supported SQS triggers. It is now possible to create Scaleway MnQ NATS triggers as well via the API.
This should be more likely added to the
scaleway_function_trigger
&scaleway_container_trigger
resourcesSee: https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers-create-a-trigger-body-scwnatsconfig for the API docs
Cheers!
New or Affected Resource(s)
Potential Terraform Configuration
References