drakkan / terraform-provider-sftpgo

Terraform provider for SFTPGo
Apache License 2.0
25 stars 7 forks source link

fix: provider events condition rule #8

Closed eduardodbr closed 5 months ago

eduardodbr commented 5 months ago

Checklist for Pull Requests


The provider event rule doesn't work. Test it with:

resource "sftpgo_rule" "mkdir" {
     name = "Create directory on user creation"
      status = 1
      trigger = 2
      conditions = {
        provider_events = ["add"]
        options = {
          provider_objects = ["user"]
        }
      }
      actions = [ {
        name = "<name of the action>"
      } ]
}
CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.

drakkan commented 5 months ago

Thanks for noticing, please follow the instructions in the bot comment to sign our CLA. Thank you

eduardodbr commented 5 months ago

Thanks for noticing, please follow the instructions in the bot comment to sign our CLA. Thank you

done

drakkan commented 5 months ago

Thank you