onelogin / terraform-provider-onelogin

GNU General Public License v3.0
27 stars 19 forks source link

Change the type of rule value #61

Closed at-k closed 3 years ago

at-k commented 3 years ago

Because the type of value is 'TypeList', terraform recognize reordering as a change. See also #32 , which is almost same to this PR

Example.

  ~ resource "onelogin_app_rules" "rule" {
        # (4 unchanged attributes hidden)

      ~ actions {
          ~ value  = [
              - "arn:aws:iam::xxxxx:role/admin",   # <- same
                "arn:aws:iam::yyyyy:role/test1",
              + "arn:aws:iam::xxxxx:role/admin",  # <- same
                "arn:aws:iam::yyyyy:role/test2",
            ]
            # (1 unchanged attribute hidden)
        }
dcaponi commented 3 years ago

I think theres something wrong with the go.sum but this change has 0 impact on that. I'm going to merge this and make sure this is fixed for the next release. Thanks @at-k 🎉