drakkan / terraform-provider-sftpgo

Terraform provider for SFTPGo
Apache License 2.0
21 stars 6 forks source link

fix: provider events condition rule #8

Closed eduardodbr closed 1 month ago

eduardodbr commented 1 month 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 1 month ago

CLA assistant check
All committers have signed the CLA.

drakkan commented 1 month ago

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

eduardodbr commented 1 month ago

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

done

drakkan commented 1 month ago

Thank you