terraform: fixing test errors