magodo / terraform-provider-outlook

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

outlook_message_rule: handle sequence #9

Closed magodo closed 4 years ago

magodo commented 4 years ago

Sequence is ignored but required during creation. During creation, service only honor the creation order and assign the actual sequence based on that. In order to make the specified sequence match the final one, one option is to addtionally specify depends_on, as is done in acctest.

Besides, the API will return 500 if message rule is absent (rather than 404).