magodo / terraform-provider-outlook

Terraform provider for Outlook 💌
Mozilla Public License 2.0
11 stars 4 forks source link

When I add forward_to as action, outlook rules include both forward and redirect #17

Closed gokhancann closed 1 year ago

gokhancann commented 1 year ago

I add forward_to argument as action. After that I plan and apply it. Then, when I check outlook rules in my mailbox, I can see both forward and redirect for same e-mail addresses.

gokhancann commented 1 year ago

I think problem is in #537. There is "forward_to" inside "RedirectTo" element. But I'm not sure, just an opinion.

path: magodo/terraform-provider-outlook/blob/master/outlook/services/message_rule_resource.go

magodo commented 1 year ago

@gokhancann Thank you for pointing the bug! I'll make a fix soon!