Terraform API adding a Trigger function

Hi all,

Is there a way that I can add a Trigger function via Terraform?

I am able to create a set of triggers via Terraform but not the App function.

thanks

Hi @gabrieleravanelli, welcome to the community :slight_smile:

Have you tried using the following mongodbatlas_event_trigger resource to see if it works for you / suits your use case?

Regards,
Jason

Sorry, just misread. I believe you may have already tried that resource / it’s not what you’re after.

I’ll try find out if creation of the trigger function via terraform is possible (correct me if i’m wrong here).

I don’t believe this is available as of yet but appears to be planned for future. You can refer to the following feedback post regarding this : Add Terraform resource for functions – MongoDB Feedback Engine

You can keep track of the feedback post link and check occasionally for any updates.

Regards,
Jason

thanks for the response I will try to use the app function API v3 instead for the time being

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.