I did an import: terraform import 'module.sql_db.mssql_user.msi[\"dev-group\"]' 'mssql://mysqlserver.database.windows.net/mydb/dev-group' and it imported the following roles: "db_ddladmin", "db_datareader", "db_datawriter", in that order.
Now, whenever I do terraform apply, it wants to modify the resource, because the following is my resource block:
Just because the roles array is in a different order. Even if I tell it to go ahead and apply, the next time I try, it still wants to update the resource.
I did an import:
terraform import 'module.sql_db.mssql_user.msi[\"dev-group\"]' 'mssql://mysqlserver.database.windows.net/mydb/dev-group'
and it imported the following roles:"db_ddladmin", "db_datareader", "db_datawriter"
, in that order.Now, whenever I do
terraform apply
, it wants to modify the resource, because the following is my resource block:Just because the roles array is in a different order. Even if I tell it to go ahead and apply, the next time I try, it still wants to update the resource.