For acceptances tests with a resource attribute of list type I can use
resource.TestCheckResourceAttr("my_resource.foo", "list.0", "item")
but for Set types the order returned by the API varies. Is there a way to check the members of the set without specifying their expected order?